mercurial/localrepo.py
changeset 2362 482d3fb47d80
parent 2354 16276b1c0658
child 2395 8ed45fb1053a
--- a/mercurial/localrepo.py	Thu Jun 01 18:36:32 2006 +0200
+++ b/mercurial/localrepo.py	Thu Jun 01 19:08:29 2006 +0200
@@ -303,7 +303,7 @@
         if tr != None and tr.running():
             return tr.nest()
 
-        # save dirstate for undo
+        # save dirstate for rollback
         try:
             ds = self.opener("dirstate").read()
         except IOError:
@@ -327,7 +327,7 @@
             self.ui.warn(_("no interrupted transaction available\n"))
             return False
 
-    def undo(self, wlock=None):
+    def rollback(self, wlock=None):
         if not wlock:
             wlock = self.wlock()
         l = self.lock()
@@ -338,7 +338,7 @@
             self.reload()
             self.wreload()
         else:
-            self.ui.warn(_("no undo information available\n"))
+            self.ui.warn(_("no rollback information available\n"))
 
     def wreload(self):
         self.dirstate.read()