diff mercurial/cmdutil.py @ 19482:499fc471296b stable

update: add tracking of interrupted updates (issue3113) This takes advantage of the new checkunfinished infrastructure
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jul 2013 00:33:28 -0500
parents 894fd1a7c533
children 607191a45f8c
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Jul 25 00:00:47 2013 -0500
+++ b/mercurial/cmdutil.py	Thu Jul 25 00:33:28 2013 -0500
@@ -2110,7 +2110,9 @@
 # (state file, clearable, error, hint)
 unfinishedstates = [
     ('graftstate', True, _('graft in progress'),
-     _("use 'hg graft --continue' or 'hg update' to abort"))
+     _("use 'hg graft --continue' or 'hg update' to abort")),
+    ('updatestate', True, _('last update was interrupted'),
+     _("use 'hg update' to get a consistent checkout"))
     ]
 
 def checkunfinished(repo):