Changeset 1894 for trunk/scripts/git-migration
- Timestamp:
- Dec 25, 2008, 1:41:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/git-migration/git-migrate
r1893 r1894 119 119 '--all'], 120 120 cwd='%s.git' % new_pkg) 121 122 subprocess.call(['git', 'branch', 123 '-D', 124 old_pkg], 125 cwd='%s.git' % new_pkg) 126 shutil.rmtree('%s.git/refs/original' % new_pkg, True) 121 127 122 128 def mergeHistories(): … … 131 137 for merge in merges: 132 138 mergeHistory(*merge) 139 140 for merge in merges: 141 shutil.rmtree('%s.git' % merge[0]) 133 142 134 143 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.