Mercurial > hgsubversion
comparison hgsubversion/replay.py @ 1565:8a66277136ab
cleanup: use __getitem__ instead of .changectx on localrepo
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 20 Apr 2018 15:47:08 -0400 |
parents | ae572c9be4e6 |
children | 7bb6562feb85 |
comparison
equal
deleted
inserted
replaced
1564:70eb9b6b0320 | 1565:8a66277136ab |
---|---|
142 and branch not in meta.branches | 142 and branch not in meta.branches |
143 and branch not in compathacks.branchset(meta.repo) | 143 and branch not in compathacks.branchset(meta.repo) |
144 and not files): | 144 and not files): |
145 continue | 145 continue |
146 | 146 |
147 parentctx = meta.repo.changectx(parents[0]) | 147 parentctx = meta.repo[parents[0]] |
148 if tag: | 148 if tag: |
149 if parentctx.node() == node.nullid: | 149 if parentctx.node() == node.nullid: |
150 continue | 150 continue |
151 extra.update({'branch': parentctx.extra().get('branch', None), | 151 extra.update({'branch': parentctx.extra().get('branch', None), |
152 'close': 1}) | 152 'close': 1}) |