From patchwork Sat Mar 12 05:25:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [evolve-ext] debugrecordpruneparents: fix an apparent typo (marks) From: Anton Shestakov X-Patchwork-Id: 13820 Message-Id: <97d98b8d9068baa9d072.1457760329@neuro> To: mercurial-devel@mercurial-scm.org Date: Sat, 12 Mar 2016 13:25:29 +0800 # HG changeset patch # User Anton Shestakov # 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)