[PATCH 4 of 4] histedit: RFC raise
timeless
timeless at mozdev.org
Wed Dec 2 02:13:36 CST 2015
# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1449042042 0
# Wed Dec 02 07:40:42 2015 +0000
# Node ID 355ddc805cf3ca8a0b087ca1cf6e7f9962be9bf7
# Parent 6c1a9a53f7c441b4ef68b7e891249539c702b2ae
histedit: RFC raise ...
I'm not sure what this is doing, but it seems wrong
diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1113,7 +1113,7 @@
constraints = action.constraints()
for constraint in constraints:
if constraint not in _constraints.known():
- error.Abort(_('unknown constraint "%s"') % constraint)
+ raise error.Abort(_('unknown constraint "%s"') % constraint)
nodetoverify = action.nodetoverify()
if nodetoverify is not None:
More information about the Mercurial-devel
mailing list