forked from importers/git-importer
Remove old history handling
This commit is contained in:
@@ -51,18 +51,6 @@ def main():
|
||||
type=pathlib.Path,
|
||||
help="Local git repository directory",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-a",
|
||||
"--search-ancestor",
|
||||
action="store_true",
|
||||
help="Search closest ancestor candidate for initial commit",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-d",
|
||||
"--rebase-devel",
|
||||
action="store_true",
|
||||
help="The devel project with be rebased after a merge",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-g",
|
||||
"--gc",
|
||||
@@ -105,9 +93,7 @@ def main():
|
||||
args.repodir = pathlib.Path(args.package)
|
||||
|
||||
# TODO: use a CLI parameter to describe the projects
|
||||
importer = Importer(
|
||||
PROJECTS, args.package, args.repodir, args.search_ancestor, args.rebase_devel
|
||||
)
|
||||
importer = Importer(PROJECTS, args.package, args.repodir)
|
||||
importer.set_gc_interval(args.gc)
|
||||
importer.import_into_db()
|
||||
importer.export_as_git()
|
||||
|
Reference in New Issue
Block a user