Why do shared repos have independent branch caches?

Gregory Szorc gregory.szorc at gmail.com
Fri Aug 22 15:43:25 UTC 2014


There are known issues like this with the branch and tags caches. It is impacting Mozilla as well.

I plan to talk to people about this at the sprint next weekend.

> On Aug 22, 2014, at 7:10, "Michael O'Connor" <moconnor at janestreet.com> wrote:
> 
> 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!
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list