# HG changeset patch # User Martin von Zweigbergk # Date 1522340619 25200 # Node ID 0348c778bf70ae096707e2fd39fd1c79e694dfab # Parent 05c13e5aa9ec99093af8f79130a89160baf1374d 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 diff -r 05c13e5aa9ec -r 0348c778bf70 mercurial/commands.py --- a/mercurial/commands.py Thu Mar 29 09:34:17 2018 -0700 +++ b/mercurial/commands.py Thu Mar 29 09:23:39 2018 -0700 @@ -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) diff -r 05c13e5aa9ec -r 0348c778bf70 mercurial/subrepo.py --- 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: