mercurial/commands.py
changeset 37358 d5e1678026fd
parent 37356 004e5c5821b2
child 37437 814e080a1215
equal deleted inserted replaced
37357:7c8524efd847 37358:d5e1678026fd
  4032             # the end of the update. In other words, it is an explicit
  4032             # the end of the update. In other words, it is an explicit
  4033             # destination of the update
  4033             # destination of the update
  4034             brev = None
  4034             brev = None
  4035 
  4035 
  4036             if checkout:
  4036             if checkout:
  4037                 checkout = "%d" % repo.changelog.rev(checkout)
  4037                 checkout = repo.changelog.rev(checkout)
  4038 
  4038 
  4039                 # order below depends on implementation of
  4039                 # order below depends on implementation of
  4040                 # hg.addbranchrevs(). opts['bookmark'] is ignored,
  4040                 # hg.addbranchrevs(). opts['bookmark'] is ignored,
  4041                 # because 'checkout' is determined without it.
  4041                 # because 'checkout' is determined without it.
  4042                 if opts.get('rev'):
  4042                 if opts.get('rev'):