diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-11 21:48:24 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-11 21:48:24 +0100 |
commit | 1bd92b8ae760d6ed8f47c5b74bbdcd2eba6580ba (patch) | |
tree | 498dff4f7061b1b6d85f2fea64bba02a93c9c163 | |
parent | 4679bf2b144686f16767d68d453cca88e69cf429 (diff) | |
download | bzr-fastimport-1bd92b8ae760d6ed8f47c5b74bbdcd2eba6580ba.tar.gz |
SOURCE argument to bzr fast-import-filter is now optional, consistent with examples.
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | cmds.py | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -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 =============== @@ -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 |