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

login
register
mail settings
Submitter Anton Shestakov
Date March 12, 2016, 5:25 a.m.
Message ID <97d98b8d9068baa9d072.1457760329@neuro>
Download mbox | patch
Permalink /patch/13820/
State Accepted
Headers show

Comments

Anton Shestakov - March 12, 2016, 5:25 a.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1457759728 -28800
#      Sat Mar 12 13:15:28 2016 +0800
# Node ID 97d98b8d9068baa9d072c1a5660818219e86516d
# Parent  05d15886aaebcee15a372fc28584766e4e7553bd
debugrecordpruneparents: fix an apparent typo (marks)
Pierre-Yves David - March 12, 2016, 12:16 p.m.
On 03/12/2016 05:25 AM, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@dwimlabs.net>
> # Date 1457759728 -28800
> #      Sat Mar 12 13:15:28 2016 +0800
> # Node ID 97d98b8d9068baa9d072c1a5660818219e86516d
> # Parent  05d15886aaebcee15a372fc28584766e4e7553bd
> debugrecordpruneparents: fix an apparent typo (marks)

Nice catch, pushed to main.

Patch

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)