D3086: pull: pass rev to check out as integer to postincoming()

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Apr 5 09:30:01 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd5e1678026fd: pull: pass rev to check out as integer to postincoming() (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3086?vs=7660&id=7717

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4034,7 +4034,7 @@
             brev = None
 
             if checkout:
-                checkout = "%d" % repo.changelog.rev(checkout)
+                checkout = repo.changelog.rev(checkout)
 
                 # order below depends on implementation of
                 # hg.addbranchrevs(). opts['bookmark'] is ignored,



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


More information about the Mercurial-devel mailing list