[issue1107] local tags not being ignored in source repository for clone/pull

Tom Karzes mercurial-bugs at selenic.com
Fri May 2 01:50:16 UTC 2008


New submission from Tom Karzes <Tom.Karzes at magnumsemi.com>:

For "hg clone" and "hg pull", if you specify a tag for the revision, it looks
for that tag in the source repository.  If the source repository's .hg area has
a localtags file, it should be ignored, since they are supposed to be strictly
local to that repository.  Instead, it is reading those local tags, and using
them to override any global tags in the repository (so you can end up
cloning/pulling the wrong revision).  It should not look at them at all in these
cases, and should only use the global tags in the source repository.

This bug exists if the source repository is local.  I haven't tested it, but it
wouldn't surprise me if the bug doesn't exist if the source repository is
non-local (which would mean the behavior is inconsistent).

----------
messages: 5999
nosy: tkarzes
priority: bug
status: unread
title: local tags not being ignored in source repository for clone/pull

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1107>
____________________________________________________




More information about the Mercurial-devel mailing list