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

Matt Mackall mpm at selenic.com
Thu Jan 3 06:34:25 UTC 2013


On Wed, 2013-01-02 at 08:09 -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 ?

We recommend not using subrepos unless you have to.

We recommend not using largefiles unless you have to.

So now you are in an especially desolate corner of Notrecommendedistan.

http://mercurial.selenic.com/wiki/FeaturesOfLastResort

But indeed, this seems to be a recently introduced problem:

$ hg23 clone . l3
updating to branch default
cloning subrepo s from /home/mpm/a/l/l2/s
getting changed largefiles
1 largefiles updated, 0 removed
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg clone . l4
updating to branch default
cloning subrepo s from /home/mpm/a/l/l2/s
2 files updated, 0 files merged, 0 files removed, 0 files unresolved

Recommend you file a proper bug report so a) we won't forget about and
b) you'll get notified of progress.

http://mercurial.selenic.com/wiki/BugTracker

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list