[Bug 5543] New: Bundles created with `hg bundle` don't contain hgtagsfnodes part

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Apr 19 21:33:07 UTC 2017


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

            Bug ID: 5543
           Summary: Bundles created with `hg bundle` don't contain
                    hgtagsfnodes part
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at mercurial-scm.org

0c2ded041d10 added support for transferring tags file nodes cache values as a
bundle2 part during exchange. Assuming the cache is up to date on the server,
an `hg clone` will inherit a populated cache and the first time tags are
resolved Mercurial won't have to do much work.

It appears `hg bundle` does not add this part to bundles. This means that
clones performed with clone bundles don't have a tags cache and many
client-side operations can be slow on first run until the cache data is
populated.

We should have a way for bundles produced via `hg bundle` to contain the
hgtagsfnodes bundle2 part, possibly by default.

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


More information about the Mercurial-devel mailing list