subrepo: forward the push to argument into _abssource stable
authorEdouard Gomez <ed.gomez@free.fr>
Fri, 12 Mar 2010 01:23:35 +0100
branchstable
changeset 10665 664bb0ce95ed
parent 10659 19c0ff5606e1
child 10666 4c50a90b90fc
subrepo: forward the push to argument into _abssource
mercurial/subrepo.py
--- a/mercurial/subrepo.py	Fri Mar 12 00:45:27 2010 +0100
+++ b/mercurial/subrepo.py	Fri Mar 12 01:23:35 2010 +0100
@@ -131,7 +131,7 @@
         source = repo._subsource
         if source.startswith('/') or '://' in source:
             return source
-        parent = _abssource(repo._subparent)
+        parent = _abssource(repo._subparent, push)
         if '://' in parent:
             if parent[-1] == '/':
                 parent = parent[:-1]