comparison mercurial/commands.py @ 36323: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 2892c1d47f30
children eb73f8a6177e
comparison
equal deleted inserted replaced
36322:f3fd4fe0506f 36323:920bbfb686da
4012 # the end of the update. In other words, it is an explicit 4012 # the end of the update. In other words, it is an explicit
4013 # destination of the update 4013 # destination of the update
4014 brev = None 4014 brev = None
4015 4015
4016 if checkout: 4016 if checkout:
4017 checkout = str(repo.changelog.rev(checkout)) 4017 checkout = "%d" % repo.changelog.rev(checkout)
4018 4018
4019 # order below depends on implementation of 4019 # order below depends on implementation of
4020 # hg.addbranchrevs(). opts['bookmark'] is ignored, 4020 # hg.addbranchrevs(). opts['bookmark'] is ignored,
4021 # because 'checkout' is determined without it. 4021 # because 'checkout' is determined without it.
4022 if opts.get('rev'): 4022 if opts.get('rev'):