Make --all be a default argument for fast-export, not a mandatory argument

This commit is contained in:
Elijah Newren 2009-02-19 13:40:22 -07:00
parent 02bafc21ff
commit ef0ad0fad4

View File

@ -393,7 +393,9 @@ class FastExportFilter(object):
raise SystemExit("Could not parse line: '%s'" % self.nextline)
def FastExportOutput(source_repo, extra_args = []):
return Popen(["git", "fast-export", "--all", "--topo-order"] + extra_args,
if not extra_args:
extra_args = ["--all"]
return Popen(["git", "fast-export", "--topo-order"] + extra_args,
stdout = PIPE,
cwd = source_repo)