hg heads -a showing closed branch
Peter Mayne
PJDM at internode.on.net
Wed Jul 8 07:52:51 CDT 2009
If I create a branch in my repository (version 1.3 on Windows), then
close that branch using "hg ci --close-branch", I get the following:
C:\tmp\repob>hg branches
default 4:1f2fa654ab3d
C:\tmp\repob>hg branches -c
default 4:1f2fa654ab3d
br1 3:8160933f9b56 (closed)
C:\tmp\repob>hg heads -a
changeset: 4:1f2fa654ab3d
tag: tip
parent: 2:664e7c45059a
user: PJDM <Peter.Mayne at localhost>
date: Wed Jul 08 22:46:27 2009 +1000
summary: five
changeset: 3:8160933f9b56
branch: br1
parent: 1:7d20e8592890
user: PJDM <Peter.Mayne at localhost>
date: Wed Jul 08 22:43:13 2009 +1000
summary: close br1
Shouldn't "hg heads -a" only show the active head (default), and not the
head from the closed branch (br1)? If so, wouldn't -a be a good default
for "hg heads", as it appears to be for "hg branches"?
Thanks.
PJDM
More information about the Mercurial
mailing list