phase: drop reference to working directory phase
authorMatt Mackall <mpm@selenic.com>
Tue, 10 Jan 2012 16:36:32 -0600
changeset 15831 0ecaf1e72609
parent 15830 8ed112ed774a
child 15832 b03388ffeb31
phase: drop reference to working directory phase
mercurial/commands.py
--- 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