mercurial/commands.py
changeset 36323 920bbfb686da
parent 36259 2892c1d47f30
child 36398 eb73f8a6177e
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'):