equal
deleted
inserted
replaced
4164 'empty set')) |
4164 'empty set')) |
4165 |
4165 |
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) |
4173 if result == 0: |
4173 if result == 0: |
4174 return not result |
4174 return not result |