##// END OF EJS Templates
debugcommands: don't shadow the error module...
Augie Fackler -
r44034:72b454fa default
parent child Browse files
Show More
@@ -481,8 +481,8 def debugcheckstate(ui, repo):
481 ui.warn(_(b"%s in manifest1, but listed as state %s") % (f, state))
481 ui.warn(_(b"%s in manifest1, but listed as state %s") % (f, state))
482 errors += 1
482 errors += 1
483 if errors:
483 if errors:
484 error = _(b".hg/dirstate inconsistent with current parent's manifest")
484 errstr = _(b".hg/dirstate inconsistent with current parent's manifest")
485 raise error.Abort(error)
485 raise error.Abort(errstr)
486
486
487
487
488 @command(
488 @command(
General Comments 0
You need to be logged in to leave comments. Login now