##// END OF EJS Templates
Better messages for rollback and undo...
mpm@selenic.com -
r501:7ea1c887 default
parent child Browse files
Show More
@@ -483,7 +483,7 b' class localrepository:'
483 483 def recover(self):
484 484 lock = self.lock()
485 485 if os.path.exists(self.join("recover")):
486 self.ui.status("attempting to rollback interrupted transaction\n")
486 self.ui.status("rolling back interrupted transaction\n")
487 487 return transaction.rollback(self.opener, self.join("recover"))
488 488 else:
489 489 self.ui.warn("no interrupted transaction available\n")
@@ -491,7 +491,7 b' class localrepository:'
491 491 def undo(self):
492 492 lock = self.lock()
493 493 if os.path.exists(self.join("undo")):
494 self.ui.status("attempting to rollback last transaction\n")
494 self.ui.status("rolling back last transaction\n")
495 495 transaction.rollback(self.opener, self.join("undo"))
496 496 self.dirstate = None
497 497 util.rename(self.join("undo.dirstate"), self.join("dirstate"))
General Comments 0
You need to be logged in to leave comments. Login now