hgext/eol.py
changeset 26586 d51c658d3f04
parent 26098 ce26928cbe41
child 26587 56b2bcea2529
--- a/hgext/eol.py	Mon Oct 05 22:29:57 2015 -0700
+++ b/hgext/eol.py	Mon Oct 05 22:49:24 2015 -0700
@@ -333,7 +333,7 @@
                     # so ignore the error.
                     pass
 
-        def commitctx(self, ctx, error=False):
+        def commitctx(self, ctx, haserror=False):
             for f in sorted(ctx.added() + ctx.modified()):
                 if not self._eolfile(f):
                     continue
@@ -349,6 +349,6 @@
                 if inconsistenteol(data):
                     raise util.Abort(_("inconsistent newline style "
                                        "in %s\n") % f)
-            return super(eolrepo, self).commitctx(ctx, error)
+            return super(eolrepo, self).commitctx(ctx, haserror)
     repo.__class__ = eolrepo
     repo._hgcleardirstate()