Subrepos in 1.3

Matt Mackall mpm at selenic.com
Wed Jul 15 14:15:44 CDT 2009


On Wed, 2009-07-15 at 20:54 +0200, Mirko Viviani wrote:
> olive:myrepo mirko$ hg push --debug ~/hg/myrepo/
                                      ^^^^^^^^^^^^^

This argument currently has no effect on sub pushes. From the docs:

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

- Updating always uses the URL from .hgsub (or any default you've
specified in the subrepo's hgrc), rather than any you might have
specified in your last pull. Pull -r will not filter revisions pulled in
subrepositories.

- Push similarly ignores URLs and revision filters 


So if you want this to work, you need to add:

[paths]
default = <where you're going to push>

in your top-level .hg/hgrc

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list