Show More
@@ -467,7 +467,10 b' def archive(ui, repo, dest, **opts):' | |||
|
467 | 467 | ''' |
|
468 | 468 | |
|
469 | 469 | opts = pycompat.byteskwargs(opts) |
|
470 |
|
|
|
470 | rev = opts.get('rev') | |
|
471 | if rev: | |
|
472 | repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn') | |
|
473 | ctx = scmutil.revsingle(repo, rev) | |
|
471 | 474 | if not ctx: |
|
472 | 475 | raise error.Abort(_('no working directory: please specify a revision')) |
|
473 | 476 | node = ctx.node() |
General Comments 0
You need to be logged in to leave comments.
Login now