summaryrefslogtreecommitdiffstats
path: root/scripts/mandriva-svn2git.sh
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-04-15 15:34:33 +0100
committerColin Guthrie <colin@mageia.org>2013-04-15 15:34:33 +0100
commit3f9efb67b0019418110fd0966e842dc39e2b663f (patch)
tree45944eed112ba352178d29e709d29c4e55711e04 /scripts/mandriva-svn2git.sh
parentdd259ff6450eb461fed5d99271a92c574e0b3292 (diff)
downloadsvn-git-migration-3f9efb67b0019418110fd0966e842dc39e2b663f.tar
svn-git-migration-3f9efb67b0019418110fd0966e842dc39e2b663f.tar.gz
svn-git-migration-3f9efb67b0019418110fd0966e842dc39e2b663f.tar.bz2
svn-git-migration-3f9efb67b0019418110fd0966e842dc39e2b663f.tar.xz
svn-git-migration-3f9efb67b0019418110fd0966e842dc39e2b663f.zip
Add a script to combine imported Mandriva git reposo with Mageia SVN history.
This script helps to automate a task that is, in a large part, manual. It takes the git-svn repostitory from the Mandrvia import and guides you through the task of adapting it and importing the Mageia SVN history on top. You first have to pick the trunk revision at which you want to reset the history. This should be the point in time when Mageia imported the sources. It will then help you find the correct Mandriva SVN revision to use as your starting point. It will then synthesize a commit to reset the repository at the same state as the Mageia subversion at the chosen revision. This should result in minimal file churn (i.e. it's should be mostly s/Mandriva/Magiea/ and a few other tweaks). In an ideal world it would contain no other fixes but in order to minimise bogus git-blame results it should avoid big 'delete-then-add' commits. Once this is done, the script then synthesises the internal git-svn metadata and tricks git-svn into continuing the import. It will likely break if any branches/tags have the same name in Mageia as existed in Mandriva. Fingers crossed that doesn't happen :)
Diffstat (limited to 'scripts/mandriva-svn2git.sh')
0 files changed, 0 insertions, 0 deletions