Submitter | phabricator |
---|---|
Date | March 29, 2018, 4:47 p.m. |
Message ID | <differential-rev-PHID-DREV-2hro65smlecqydgsh2su-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/29939/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -723,7 +723,7 @@ ssh = opts.get('ssh') # push subrepos depth-first for coherent ordering - c = self._repo[''] + c = self._repo['.'] subs = c.substate # only repos that are committed for s in sorted(subs): if c.sub(s).push(opts) == 0: diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4166,7 +4166,7 @@ repo._subtoppath = dest try: # push subrepos depth-first for coherent ordering - c = repo[''] + c = repo['.'] subs = c.substate # only repos that are committed for s in sorted(subs): result = c.sub(s).push(opts)