##// END OF EJS Templates
push: use "repo['.']" instead of old form "repo['']"...
Martin von Zweigbergk -
r37170:0348c778 default
parent child Browse files
Show More
@@ -4166,7 +4166,7 b' def push(ui, repo, dest=None, **opts):'
4166 4166 repo._subtoppath = dest
4167 4167 try:
4168 4168 # push subrepos depth-first for coherent ordering
4169 c = repo['']
4169 c = repo['.']
4170 4170 subs = c.substate # only repos that are committed
4171 4171 for s in sorted(subs):
4172 4172 result = c.sub(s).push(opts)
@@ -724,7 +724,7 b' class hgsubrepo(abstractsubrepo):'
724 724 ssh = opts.get('ssh')
725 725
726 726 # push subrepos depth-first for coherent ordering
727 c = self._repo['']
727 c = self._repo['.']
728 728 subs = c.substate # only repos that are committed
729 729 for s in sorted(subs):
730 730 if c.sub(s).push(opts) == 0:
General Comments 0
You need to be logged in to leave comments. Login now