Mercurial > evolve
comparison hgext/evolve.py @ 1622:d49f4ad04fbd stable
debugrecordpruneparents: fix an apparent typo (marks)
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 12 Mar 2016 13:15:28 +0800 |
parents | b04d73c0a13e |
children | 498329a3c900 |
comparison
equal
deleted
inserted
replaced
1617:160968654581 | 1622:d49f4ad04fbd |
---|---|
1128 rev = nm.get(mark[0]) | 1128 rev = nm.get(mark[0]) |
1129 if rev is not None: | 1129 if rev is not None: |
1130 ctx = unfi[rev] | 1130 ctx = unfi[rev] |
1131 parents = tuple(p.node() for p in ctx.parents()) | 1131 parents = tuple(p.node() for p in ctx.parents()) |
1132 before = len(store._all) | 1132 before = len(store._all) |
1133 store.create(tr, mark[0], mark[1], mark[2], marks[3], | 1133 store.create(tr, mark[0], mark[1], mark[2], mark[3], |
1134 parents=parents) | 1134 parents=parents) |
1135 if len(store._all) - before: | 1135 if len(store._all) - before: |
1136 ui.write(_('created new markers for %i\n') % rev) | 1136 ui.write(_('created new markers for %i\n') % rev) |
1137 ui.progress(pgop, idx, total=pgtotal) | 1137 ui.progress(pgop, idx, total=pgtotal) |
1138 tr.close() | 1138 tr.close() |