projects
/
invirt/scripts/git-migration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
300df9d
)
Start by pushing revisions around as necessary for merging.
author
Evan Broder
<broder@mit.edu>
Wed, 24 Dec 2008 22:46:15 +0000
(17:46 -0500)
committer
Evan Broder
<broder@mit.edu>
Wed, 24 Dec 2008 22:46:15 +0000
(17:46 -0500)
svn path=/trunk/scripts/git-migration/; revision=1881
git-migrate
patch
|
blob
|
history
diff --git
a/git-migrate
b/git-migrate
index
edd916c
..
b79053a
100755
(executable)
--- a/
git-migrate
+++ b/
git-migrate
@@
-40,7
+40,11
@@
def cloneAllPackages(base):
clonePackage(base, pkg.strip())
def mergeHistory(old_pkg, new_pkg, n):
- pass
+ cwd = os.getcwd()
+ subprocess.check_call(['git', 'push',
+ 'file:///%s/%s.git' % (cwd, new_pkg),
+ 'master:refs/heads/%s' % old_pkg],
+ cwd=new_pkg)
def mergeHistories():
for line in open('grafts'):