mercurial/commands.py
changeset 37358 d5e1678026fd
parent 37356 004e5c5821b2
child 37437 814e080a1215
--- a/mercurial/commands.py	Thu Apr 05 14:21:37 2018 +0530
+++ b/mercurial/commands.py	Wed Apr 04 10:13:08 2018 -0700
@@ -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,