Better messages for rollback and undo
authormpm@selenic.com
Tue, 28 Jun 2005 02:03:25 -0800
changeset 501 7ea1c88792bf
parent 500 ebc4714a7632
child 502 509e62469cb1
Better messages for rollback and undo -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Better messages for rollback and undo manifest hash: 22eeb8848b0e07e1f23a896b03c37f7d6f4bd82d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwSBtywK+sNU5EO8RAhNEAJ9MGJxgZjIKegh1TA7++wGbAzkovACgqL3I k1ii4X5PEWEDcoyOp0VqJn4= =wzlT -----END PGP SIGNATURE-----
mercurial/hg.py
--- a/mercurial/hg.py	Tue Jun 28 00:59:59 2005 -0800
+++ b/mercurial/hg.py	Tue Jun 28 02:03:25 2005 -0800
@@ -483,7 +483,7 @@
     def recover(self):
         lock = self.lock()
         if os.path.exists(self.join("recover")):
-            self.ui.status("attempting to rollback interrupted transaction\n")
+            self.ui.status("rolling back interrupted transaction\n")
             return transaction.rollback(self.opener, self.join("recover"))
         else:
             self.ui.warn("no interrupted transaction available\n")
@@ -491,7 +491,7 @@
     def undo(self):
         lock = self.lock()
         if os.path.exists(self.join("undo")):
-            self.ui.status("attempting to rollback last transaction\n")
+            self.ui.status("rolling back last transaction\n")
             transaction.rollback(self.opener, self.join("undo"))
             self.dirstate = None
             util.rename(self.join("undo.dirstate"), self.join("dirstate"))