Mercurial > hg-stable
changeset 36356:920bbfb686da
py3: use '%d' to convert integer to bytes
Differential Revision: https://phab.mercurial-scm.org/D2349
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 19 Feb 2018 15:26:07 +0530 |
parents | f3fd4fe0506f |
children | ac04f17b7041 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Feb 19 12:48:50 2018 +0800 +++ b/mercurial/commands.py Mon Feb 19 15:26:07 2018 +0530 @@ -4014,7 +4014,7 @@ brev = None if checkout: - checkout = str(repo.changelog.rev(checkout)) + checkout = "%d" % repo.changelog.rev(checkout) # order below depends on implementation of # hg.addbranchrevs(). opts['bookmark'] is ignored,