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:
bfacfe9
)
Simplify out the need to know the CWD.
author
Evan Broder
<broder@mit.edu>
Thu, 25 Dec 2008 04:33:26 +0000
(23:33 -0500)
committer
Evan Broder
<broder@mit.edu>
Thu, 25 Dec 2008 04:33:26 +0000
(23:33 -0500)
svn path=/trunk/scripts/git-migration/; revision=1892
git-migrate
patch
|
blob
|
history
diff --git
a/git-migrate
b/git-migrate
index
e968b62
..
458d903
100755
(executable)
--- a/
git-migrate
+++ b/
git-migrate
@@
-40,9
+40,8
@@
def cloneAllPackages(base):
clonePackage(base, pkg.strip())
def mergeHistory(old_pkg, new_pkg, n):
- cwd = os.getcwd()
subprocess.check_call(['git', 'push',
- 'file:///%s/%s.git' % (cwd, new_pkg),
+ '../%s.git' % new_pkg,
'master:refs/heads/%s' % old_pkg],
cwd='%s.git' % old_pkg)