[issue2357] clone -U does not support subrepos

Ethan Tira-Thompson bugs at mercurial.selenic.com
Wed Sep 1 11:38:38 CDT 2010


New submission from Ethan Tira-Thompson <ejt at cmu.edu>:

When cloning a repository, if the -U option is given, it does not recurse over 
the subrepositories.

I guess you might argue that the placement of subrepos in the working 
directory violates the intent of the flag to not create a working directory, 
but I think this is too strict... I expected to be given a skeleton with just 
the .hg directories and their parent workspace directories for subrepos, and 
simply avoid creating the workspace data files.

Perhaps if you want to retain the ability to do a non-recursive clone, that 
deserves an orthogonal command line option like -l | --local.  Then you can 
clone without subrepos, independently of with/without workspace files.

----------
messages: 13547
nosy: ejtttje
priority: bug
status: unread
title: clone -U does not support subrepos
topic: clone, subrepo

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2357>
____________________________________________________


More information about the Mercurial-devel mailing list