Cloning mercurial repo with subrepo without network connection

Arne Babenhauserheide arne_bab at web.de
Fri Oct 14 06:11:11 UTC 2011


Am Dienstag, 11. Oktober 2011, 23:58:38 schrieb Franklin M. Siler:
> > I’d love a “it’s not there, darn it, we’ll treat it as unchanged when
> > committing” option.
> 
> my suggestion is slightly different- simply let the user specify to
> ignore a given suprepo using subpaths, as opposed to a command-line
> option to "just this one time, ignore the subrepo".

Or perhaps have a config option in the .hg/hgrc: 

	[subrepos]
	ignore.1 = subpath # what you put as first item into .hgsub

On a clone with nonaccessible subrepos, hg could ask if they should be 
ignored, and if yes add them to the .hg/hgrc as ignored. Also the options 
could be specified on the commandline. 

Important for me would be that this is not versioned. I don’t want it to 
propagate.

Best wishes, 
Arne
-- 
Ein Mann wird auf der Straße mit einem Messer bedroht. 
Zwei Polizisten sind sofort da und halten ein Transparent davor. 

	"Illegale Szene. Niemand darf das sehen."

Der Mann wird ausgeraubt, erstochen und verblutet, 
denn die Polizisten haben beide Hände voll zu tun. 

Willkommen in Deutschland. Zensur ist schön. 
      ( http://draketo.de/stichwort/zensur )

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111014/990e2f41/attachment.asc>


More information about the Mercurial mailing list