diff hgext/histedit.py @ 37263:3809eafedf2c

parseurl: consistently call second output "branches" Differential Revision: https://phab.mercurial-scm.org/D3015
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 01 Apr 2018 15:41:16 -0700
parents 6f570c501e3e
children a53b87e20132
line wrap: on
line diff
--- a/hgext/histedit.py	Sun Apr 01 11:06:29 2018 +0900
+++ b/hgext/histedit.py	Sun Apr 01 15:41:16 2018 -0700
@@ -899,10 +899,10 @@
     if opts is None:
         opts = {}
     dest = ui.expandpath(remote or 'default-push', remote or 'default')
-    dest, revs = hg.parseurl(dest, None)[:2]
+    dest, branches = hg.parseurl(dest, None)[:2]
     ui.status(_('comparing with %s\n') % util.hidepassword(dest))
 
-    revs, checkout = hg.addbranchrevs(repo, repo, revs, None)
+    revs, checkout = hg.addbranchrevs(repo, repo, branches, None)
     other = hg.peer(repo, opts, dest)
 
     if revs: