D3173: cmdutil: drop unused rev arguments from _exportsingle()

2018-04-12 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision.
indygreg added a subscriber: yuja.
indygreg added a comment.


  @yuja made a much better version of this series, albeit without CBOR.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3173

To: indygreg, #hg-reviewers
Cc: yuja, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D3173: cmdutil: drop unused rev arguments from _exportsingle()

2018-04-06 Thread indygreg (Gregory Szorc)
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  No clue when we stopped using it.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3173

AFFECTED FILES
  mercurial/cmdutil.py

CHANGE DETAILS

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -1526,7 +1526,7 @@
 # it is given two arguments (sequencenumber, changectx)
 extraexportmap = {}
 
-def _exportsingle(repo, ctx, match, switch_parent, rev, seqno, write, 
diffopts):
+def _exportsingle(repo, ctx, match, switch_parent, seqno, write, diffopts):
 node = scmutil.binnode(ctx)
 parents = [p.node() for p in ctx.parents() if p]
 branch = ctx.branch()
@@ -1611,7 +1611,7 @@
 if not dest.startswith('<'):
 repo.ui.note("%s\n" % dest)
 _exportsingle(
-repo, ctx, match, switch_parent, rev, seqno, write, opts)
+repo, ctx, match, switch_parent, seqno, write, opts)
 if fo is not None:
 fo.close()
 



To: indygreg, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel