Remove old history handling

This commit is contained in:
Stephan Kulow
2022-11-01 11:34:10 +01:00
parent 9ed8abad2b
commit e6a401d8ac
5 changed files with 7 additions and 371 deletions

View File

@@ -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()