changeset 15831:0ecaf1e72609

phase: drop reference to working directory phase
author Matt Mackall <mpm@selenic.com>
date Tue, 10 Jan 2012 16:36:32 -0600
parents 8ed112ed774a
children b03388ffeb31
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Jan 10 19:45:35 2012 +0100
+++ b/mercurial/commands.py	Tue Jan 10 16:36:32 2012 -0600
@@ -4247,8 +4247,8 @@
     revs = list(revs)
     revs.extend(opts['rev'])
     if not revs:
-        raise NotImplementedError('working directory phase not implemented '
-                                  'yet')
+        raise util.Abort(_('no revisions specified!'))
+
     lock = None
     if targetphase is None:
         # display