[Bug 4949] New: tags are read during localrepository instance creation

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Nov 13 03:07:42 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4949

            Bug ID: 4949
           Summary: tags are read during localrepository instance creation
           Product: Mercurial
           Version: 3.6.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: regression
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at selenic.com

(Derived from
https://selenic.com/pipermail/mercurial/2015-November/048987.html)

namespaces.__init__() - which is called during localrepository.__init__() -
reads in the set of active tags.

Tags reading can be expensive. Furthermore, many operations don't need to
access tags information, so this is avoidable overhead.

According to mpm, this is a regression. Probably a result of the establishment
of the namespaces API and/or namespaces.py. Filing the bug with the regression
keyword so we don't forget about it.

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


More information about the Mercurial-devel mailing list