Show More
@@ -156,7 +156,7 b' def archive(ui, repo, dest, **opts):' | |||||
156 |
|
156 | |||
157 | ctx = repo[opts.get('rev')] |
|
157 | ctx = repo[opts.get('rev')] | |
158 | if not ctx: |
|
158 | if not ctx: | |
159 |
raise util.Abort(_(' |
|
159 | raise util.Abort(_('no working directory: please specify a revision')) | |
160 | node = ctx.node() |
|
160 | node = ctx.node() | |
161 | dest = cmdutil.make_filename(repo, dest, node) |
|
161 | dest = cmdutil.make_filename(repo, dest, node) | |
162 | if os.path.realpath(dest) == repo.root: |
|
162 | if os.path.realpath(dest) == repo.root: |
General Comments 0
You need to be logged in to leave comments.
Login now