Why do shared repos have independent branch caches?

Michael O'Connor moconnor at janestreet.com
Fri Aug 22 14:10:26 UTC 2014


Does anyone know why repos produced with 'hg share' have branch caches that
are independent of the source repo?

I'm in a situation where rebuilding the caches takes significant time, and
the work is being duplicated across shared repos but I'm not sure why.

More concretely, in branchmap.py, why not have the _filename function check
if the repo has a sharedpath, and, if so, return the cache inside the repo
pointed to by sharedpath?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140822/158d252b/attachment-0002.html>


More information about the Mercurial mailing list