Show More
@@ -4166,7 +4166,7 b' def push(ui, repo, dest=None, **opts):' | |||||
4166 | repo._subtoppath = dest |
|
4166 | repo._subtoppath = dest | |
4167 | try: |
|
4167 | try: | |
4168 | # push subrepos depth-first for coherent ordering |
|
4168 | # push subrepos depth-first for coherent ordering | |
4169 | c = repo[''] |
|
4169 | c = repo['.'] | |
4170 | subs = c.substate # only repos that are committed |
|
4170 | subs = c.substate # only repos that are committed | |
4171 | for s in sorted(subs): |
|
4171 | for s in sorted(subs): | |
4172 | result = c.sub(s).push(opts) |
|
4172 | result = c.sub(s).push(opts) |
@@ -724,7 +724,7 b' class hgsubrepo(abstractsubrepo):' | |||||
724 | ssh = opts.get('ssh') |
|
724 | ssh = opts.get('ssh') | |
725 |
|
725 | |||
726 | # push subrepos depth-first for coherent ordering |
|
726 | # push subrepos depth-first for coherent ordering | |
727 | c = self._repo[''] |
|
727 | c = self._repo['.'] | |
728 | subs = c.substate # only repos that are committed |
|
728 | subs = c.substate # only repos that are committed | |
729 | for s in sorted(subs): |
|
729 | for s in sorted(subs): | |
730 | if c.sub(s).push(opts) == 0: |
|
730 | if c.sub(s).push(opts) == 0: |
General Comments 0
You need to be logged in to leave comments.
Login now