Cloning a repository with subrepo and largefiles result in missing files.

Matt Harbison matt_harbison at yahoo.com
Thu Jan 3 02:23:44 UTC 2013


On Wed, 02 Jan 2013 08:09:16 -0800, Francois Tréton wrote:

> This state can be reproducing with hg version up to 2.4.x. and the
> following configuration:  create a fresh repository that contains a
> subrepo. Add to the subrepo one largefiles and one normal file.
> 
> Then cloning this repository result in a clone where only largefiles
> files in the subrepo are displayed as missing. It seems like only with
> the clone command the update is skipping all files that are largefiles
> and not the other ones.
> 
> Did someone encounter this behavior ?

Good catch.  It looks like it broke just prior to 2.4.  You can work 
around it for now by going to each subrepo and doing an 'update
-C' (assuming it has a clean working dir; that won't work from the top 
level repo either).  I'll file a bug shortly when I get a better idea of 
what the problem is.

--Matt





More information about the Mercurial mailing list