summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-11 21:48:24 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-11 21:48:24 +0100
commit1bd92b8ae760d6ed8f47c5b74bbdcd2eba6580ba (patch)
tree498dff4f7061b1b6d85f2fea64bba02a93c9c163
parent4679bf2b144686f16767d68d453cca88e69cf429 (diff)
downloadbzr-fastimport-1bd92b8ae760d6ed8f47c5b74bbdcd2eba6580ba.tar.gz
SOURCE argument to bzr fast-import-filter is now optional, consistent with examples.
-rw-r--r--NEWS3
-rw-r--r--cmds.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 58c64a1..7d2cb12 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,9 @@ Bug fixes
* Fix indentation when starting p4 fails. (Jelmer Vernooij)
+* SOURCE argument to bzr fast-import-filter is now optional, consistent with
+ examples. (Jelmer Vernooij, #477861)
+
0.9 28-Feb-2010
===============
diff --git a/cmds.py b/cmds.py
index 40533ac..52170f7 100644
--- a/cmds.py
+++ b/cmds.py
@@ -406,7 +406,7 @@ class cmd_fast_import_filter(Command):
"""
hidden = False
_see_also = ['fast-import']
- takes_args = ['source']
+ takes_args = ['source?']
takes_options = ['verbose',
ListOption('include_paths', short_name='i', type=str,
help="Only include commits affecting these paths."
@@ -420,7 +420,7 @@ class cmd_fast_import_filter(Command):
),
]
encoding_type = 'exact'
- def run(self, source, verbose=False, include_paths=None,
+ def run(self, source=None, verbose=False, include_paths=None,
exclude_paths=None, user_map=None):
load_fastimport()
from fastimport.processors import filter_processor