Patchwork D3049: bundle: consistently keep a list of stringified revisions in "revs"

login
register
mail settings
Submitter phabricator
Date April 3, 2018, 11:25 p.m.
Message ID <a5218634454809fc88125128f427cf8d@localhost.localdomain>
Download mbox | patch
Permalink /patch/30224/
State Not Applicable
Headers show

Comments

phabricator - April 3, 2018, 11:25 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG88a056437061: bundle: consistently keep a list of stringified revisions in &quot;revs&quot; (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3049?vs=7580&id=7589

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1231,6 +1231,7 @@ 
         dest = ui.expandpath(dest or 'default-push', dest or 'default')
         dest, branches = hg.parseurl(dest, opts.get('branch'))
         other = hg.peer(repo, opts, dest)
+        revs = [repo[r].hex() for r in revs]
         revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
         heads = revs and map(repo.lookup, revs) or revs
         outgoing = discovery.findcommonoutgoing(repo, other,