Mercurial > hg-stable
changeset 7528:eadcc075967e
archive: fix bogus error message with no working directory
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 19 Dec 2008 16:48:31 -0600 |
parents | 5a14a8f3b909 |
children | 0a65a1dd7894 |
files | mercurial/commands.py tests/test-archive.out |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Dec 19 16:47:36 2008 -0600 +++ b/mercurial/commands.py Fri Dec 19 16:48:31 2008 -0600 @@ -156,7 +156,7 @@ ctx = repo[opts.get('rev')] if not ctx: - raise util.Abort(_('repository has no revisions')) + raise util.Abort(_('no working directory: please specify a revision')) node = ctx.node() dest = cmdutil.make_filename(repo, dest, node) if os.path.realpath(dest) == repo.root: