summaryrefslogtreecommitdiff
path: root/processors/filter_processor.py
diff options
context:
space:
mode:
Diffstat (limited to 'processors/filter_processor.py')
-rw-r--r--processors/filter_processor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/processors/filter_processor.py b/processors/filter_processor.py
index d37585a..6d07088 100644
--- a/processors/filter_processor.py
+++ b/processors/filter_processor.py
@@ -23,6 +23,7 @@ from bzrlib.trace import (
)
from bzrlib.plugins.fastimport import (
commands,
+ helpers,
processor,
)
@@ -50,7 +51,7 @@ class FilterProcessor(processor.ImportProcessor):
self.includes = self.params.get('include_paths')
self.excludes = self.params.get('exclude_paths')
# What's the new root, if any
- self.new_root = self._find_new_root(self.includes)
+ self.new_root = helpers.common_directory(self.includes)
# Buffer of blobs until we know we need them: mark -> cmd
self.blobs = {}
# These are the commits we've output so far