summaryrefslogtreecommitdiffstats
path: root/src/pyfedpkg/__init__.py
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2010-08-09 15:14:08 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2011-01-21 11:00:22 +0100
commitbd606390a95b6364b90dedcc4bfcbd6d3ad76dd6 (patch)
tree19adce19730950dc9bfe0a28be7e4e192d5f2427 /src/pyfedpkg/__init__.py
parent7ee64a029b22cb4a4cdafd5a827b7e06be519022 (diff)
downloadfedora-packager-bd606390a95b6364b90dedcc4bfcbd6d3ad76dd6.tar.gz
fedora-packager-bd606390a95b6364b90dedcc4bfcbd6d3ad76dd6.tar.xz
fedora-packager-bd606390a95b6364b90dedcc4bfcbd6d3ad76dd6.zip
Add "fedpkg initial-merge" command
usage: fedpkg.py initial-merge [-h] [-n] [repo-path [repo-path ...]] Performs a 'git merge' of all git branches with the same content (i.e. with the same package spec files, patch files, etc.), regardless of their history. This is useful after Fedora's dist-cvs to dist-git migration, as often different branches have different histories but the same content on the filesystem. After these initial merges of identical trees, future merges between the branches will be a lot easier: Easier to follow in the dependency graph, and easier to perform without conflicts. positional arguments: repo-path Path to a repo to initial-merge optional arguments: -h, --help show this help message and exit -n, --dry-run Whether to run without actually merging
Diffstat (limited to 'src/pyfedpkg/__init__.py')
-rw-r--r--src/pyfedpkg/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index a1edb35..51982ea 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -31,6 +31,8 @@ import OpenSSL
import fnmatch
import offtrac
+from . import initial_merge
+
# Define some global variables, put them here to make it easy to change
LOOKASIDE = 'http://pkgs.fedoraproject.org/repo/pkgs'