[Bug 4839] New: local tags shouldn't store their history forever

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Sep 24 05:51:16 CDT 2015


http://bz.selenic.com/show_bug.cgi?id=4839

            Bug ID: 4839
           Summary: local tags shouldn't store their history forever
           Product: Mercurial
           Version: 3.5.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gabor.stefanik at nng.com
                CC: mercurial-devel at selenic.com

Moving an existing local tag currently results in a new line being created in
.hg/localtags, which causes this file to slowly grow as local tags are moved
around. Since .hg/localtags is never merged (unlike .hgtags), storing history
here makes no sense, especially there is no way to access this history except
by directly reading .hg/localtags.

Local tag moves should replace the .hg/localtags line that references them,
rather than creating a new line. Similarly, deleting the local tag should
remove the associated line from .hg/localtags. There is no reason to make
.hg/localtags append-only.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list