diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-08-01 11:40:37 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-08-01 11:40:37 +0200 |
commit | bb48331ccc7560ce05cd83d0df17f6ff4713a15b (patch) | |
tree | aae7e407a642f97f9fa3a436e4d333e3664dffc0 /cmds.py | |
parent | ade5e97d7af1f1eeeb5b875b9c66fcd871412d92 (diff) | |
download | bzr-fastimport-bb48331ccc7560ce05cd83d0df17f6ff4713a15b.tar.gz |
Remove --branches-path and --tags-path options, which are not implemented by the underlying code yet.
Diffstat (limited to 'cmds.py')
-rw-r--r-- | cmds.py | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -858,23 +858,12 @@ class cmd_fast_export_from_svn(Command): "branch name and the second group is used " "to match files.", ), - Option('branches-path', type=str, argname="STR", - help="Path in repo to /branches." - ), - Option('tags-path', type=str, argname="STR", - help="Path in repo to /tags." - ), ] encoding_type = 'exact' - def run(self, source, destination, verbose=False, trunk_path=None, - branches_path=None, tags_path=None): + def run(self, source, destination, verbose=False, trunk_path=None): load_fastimport() from bzrlib.plugins.fastimport.exporters import fast_export_from custom = [] if trunk_path is not None: custom.extend(['--trunk-path', trunk_path]) - if branches_path is not None: - custom.extend(['--branches-path', branches_path]) - if tags_path is not None: - custom.extend(['--tags-path', tags_path]) fast_export_from(source, destination, 'svn', verbose, custom) |