[Bug 3911] New: forced global tag wrongly listed as overwriting localtag
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat Apr 27 14:22:33 CDT 2013
http://bz.selenic.com/show_bug.cgi?id=3911
Priority: normal
Bug ID: 3911
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: forced global tag wrongly listed as overwriting
localtag
Severity: bug
Classification: Unclassified
OS: Mac OS
Reporter: kbullock+mercurial at ringworld.org
Hardware: PC
Status: UNCONFIRMED
Version: 2.5
Component: Mercurial
Product: Mercurial
Local tags generally override global tags of the same name[1]. But if you have
an existing localtag, and then create (with --force) a global tag with the same
name, the global tag will be listed in 'hg tags'. Worse, it will be listed as a
_local_ tag in 'hg tags -v'.
[1]: http://selenic.com/pipermail/mercurial-devel/2013-April/050847.html
To reproduce:
$ hg init a && cd a
$ echo a>a
$ hg ci -Am0
$ hg tag -l t0
$ echo b>a
$ hg ci -m1
$ hg tag -f t1
$ hg tags -v
tip 2:18555d753664
t0 1:f623ad5141d6 local
# ^^^ WAT
$ hg up -q t0
$ hg sum
parent: 0:ab6e289ce0b3 t0
0
branch: default
commit: (clean)
update: 2 new changesets (update)
$ hg up -q
$ hg tags -v
tip 2:18555d753664
t0 0:ab6e289ce0b3 local
# ^^^ double-WAT
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list