changeset 18186:d336f53cb2e3

clfilter: ensure unfiltered repo have a filtername attribute too That will allows to use `repo.filtername` for dispatch purpose.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Mon, 24 Dec 2012 03:05:02 +0100
parents 5a047276764e
children 4df8716d32f1
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Mon Dec 24 03:04:12 2012 +0100
+++ b/mercurial/localrepo.py	Mon Dec 24 03:05:02 2012 +0100
@@ -147,6 +147,7 @@
                                         'dotencode'))
     openerreqs = set(('revlogv1', 'generaldelta'))
     requirements = ['revlogv1']
+    filtername = None
 
     def _baserequirements(self, create):
         return self.requirements[:]