[PATCH 0 of 1] preliminary support of subrepositories

Augie Fackler durin42 at gmail.com
Thu Feb 5 16:20:45 CST 2009


On Feb 4, 2009, at 1:45 PM, Alexander Solovyov wrote:

> Edit file .hgsubrepos (located in the repo root) to contain inner  
> path to subrepo
> and path to it's source, like:
>
> apps/pingback http://hg.piranha.org.ua/django-pingback/

Is there any way to say "at this specific revision?"
One of the nice things IMO about git's submodules is they make you  
explicitly say what revision you want to depend on, rather than just  
floating along whatever tip happens to be. And, given the  
interchangeable nature of tags and revisions, if people really do want  
to track tip, they can ask for that. I've had my own share  of  
problems with svn externals when (for example) builds silently break  
because upstream changed their code and I didn't use a peg rev in my  
external.

Augie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20090205/3d697377/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090205/3d697377/attachment.bin 


More information about the Mercurial-devel mailing list