equal
deleted
inserted
replaced
5528 if date: |
5528 if date: |
5529 rev = cmdutil.finddate(ui, repo, date) |
5529 rev = cmdutil.finddate(ui, repo, date) |
5530 |
5530 |
5531 # if we defined a bookmark, we have to remember the original name |
5531 # if we defined a bookmark, we have to remember the original name |
5532 brev = rev |
5532 brev = rev |
5533 repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn') |
5533 if rev: |
|
5534 repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn') |
5534 ctx = scmutil.revsingle(repo, rev, rev) |
5535 ctx = scmutil.revsingle(repo, rev, rev) |
5535 rev = ctx.rev() |
5536 rev = ctx.rev() |
5536 if ctx.hidden(): |
5537 if ctx.hidden(): |
5537 ui.warn(_("updating to a hidden changeset %s\n") % ctx.hex()[:12]) |
5538 ui.warn(_("updating to a hidden changeset %s\n") % ctx.hex()[:12]) |
5538 |
5539 |