Mercurial > public > mercurial-scm > hg
diff mercurial/subrepo.py @ 37152:0348c778bf70
push: use "repo['.']" instead of old form "repo['']"
Note that this does not conflict with the commit message of my
previous patch: I found this after writing the previous patch
(besides, I very easily forget things).
Differential Revision: https://phab.mercurial-scm.org/D2965
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 29 Mar 2018 09:23:39 -0700 |
parents | 335e19c6b7fa |
children | 32857300846c |
line wrap: on
line diff
--- a/mercurial/subrepo.py Thu Mar 29 09:34:17 2018 -0700 +++ b/mercurial/subrepo.py Thu Mar 29 09:23:39 2018 -0700 @@ -724,7 +724,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: