[PATCH] histedit: remove unused parents() call

Augie Fackler raf at durin42.com
Thu Sep 26 11:52:22 CDT 2013


queued, thanks

On Sep 26, 2013, at 10:29 AM, David Soria Parra <dsp at experimentalworks.net> wrote:

> # HG changeset patch
> # User David Soria Parra <dsp at experimentalworks.net>
> # Date 1380199639 -7200
> #      Thu Sep 26 14:47:19 2013 +0200
> # Node ID 6210ef8c9f620548ea1c585dd938d1e4a6747459
> # Parent  ea35caf324bb04cbc9ab5e2328367bc50f558cfb
> histedit: remove unused parents() call
> 
> diff --git a/hgext/histedit.py b/hgext/histedit.py
> --- a/hgext/histedit.py
> +++ b/hgext/histedit.py
> @@ -501,7 +501,6 @@
> 
>     if goal == 'continue':
>         (parentctxnode, rules, keep, topmost, replacements) = readstate(repo)
> -        currentparent, wantnull = repo.dirstate.parents()
>         parentctx = repo[parentctxnode]
>         parentctx, repl = bootstrapcontinue(ui, repo, parentctx, rules, opts)
>         replacements.extend(repl)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list