clfilter: ensure changeset creation in the repo is run unfiltered
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 26 Nov 2012 19:24:11 +0100
changeset 18000 f9459bcd25fc
parent 17999 85027e98100b
child 18001 e02feadd15ea
clfilter: ensure changeset creation in the repo is run unfiltered This applies to both creation of new commits and application of changegroups.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon Nov 26 19:23:25 2012 +0100
+++ b/mercurial/localrepo.py	Mon Nov 26 19:24:11 2012 +0100
@@ -1240,6 +1240,7 @@
 
         return fparent1
 
+    @unfilteredmeth
     def commit(self, text="", user=None, date=None, match=None, force=False,
                editor=False, extra={}):
         """Add a new revision to current repository.
@@ -1410,6 +1411,7 @@
         self._afterlock(commithook)
         return ret
 
+    @unfilteredmeth
     def commitctx(self, ctx, error=False):
         """Add a new revision to current repository.
         Revision information is passed via the context argument.
@@ -2291,6 +2293,7 @@
 
         return changegroup.unbundle10(util.chunkbuffer(gengroup()), 'UN')
 
+    @unfilteredmeth
     def addchangegroup(self, source, srctype, url, emptyok=False):
         """Add the changegroup returned by source.read() to this repo.
         srctype is a string like 'push', 'pull', or 'unbundle'.  url is