Bug 5543 - Bundles created with `hg bundle` don't contain hgtagsfnodes part
Summary: Bundles created with `hg bundle` don't contain hgtagsfnodes part
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: default branch
Hardware: All All
: normal feature
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-19 17:33 UTC by Gregory Szorc
Modified: 2017-05-30 14:23 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Szorc 2017-04-19 17:33 UTC
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.
Comment 1 Gregory Szorc 2017-05-30 14:23 UTC
Not sure where the bot was, but this got fixed in 4.3.

changeset:   34152:d7f93ebbbbdf
user:        Pierre-Yves David <pierre-yves.david@octobus.net>
date:        Fri May 05 17:31:15 2017 +0200
summary:     bundle: add optional 'tagsfnodecache' data to on disk bundle (issue5543)