[PATCH evolve-ext] debugrecordpruneparents: fix an apparent typo (marks)

Anton Shestakov av6 at dwimlabs.net
Sat Mar 12 00:25:29 EST 2016


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1457759728 -28800
#      Sat Mar 12 13:15:28 2016 +0800
# Node ID 97d98b8d9068baa9d072c1a5660818219e86516d
# Parent  05d15886aaebcee15a372fc28584766e4e7553bd
debugrecordpruneparents: fix an apparent typo (marks)

diff --git a/hgext/evolve.py b/hgext/evolve.py
--- a/hgext/evolve.py
+++ b/hgext/evolve.py
@@ -1129,7 +1129,7 @@ def cmddebugrecordpruneparents(ui, repo)
                     ctx = unfi[rev]
                     parents = tuple(p.node() for p in ctx.parents())
                     before = len(store._all)
-                    store.create(tr, mark[0], mark[1], mark[2], marks[3],
+                    store.create(tr, mark[0], mark[1], mark[2], mark[3],
                                  parents=parents)
                     if len(store._all) - before:
                         ui.write(_('created new markers for %i\n') % rev)


More information about the Mercurial-devel mailing list