--- 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:
--- a/tests/test-archive.out Fri Dec 19 16:47:36 2008 -0600
+++ b/tests/test-archive.out Fri Dec 19 16:48:31 2008 -0600
@@ -60,4 +60,4 @@
abort: unknown archive type 'bogus'
% server errors
% empty repo
-abort: repository has no revisions
+abort: no working directory: please specify a revision