Changeset 1898 for trunk/scripts
- Timestamp:
- Dec 25, 2008, 2:33:38 AM (16 years ago)
- Location:
- trunk/scripts/git-migration
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/git-migration/git-migrate
r1896 r1898 61 61 if len(p.stdout.read()) == 0: 62 62 subprocess.check_call(['git', 'reset', '--soft', 'HEAD^'], 63 cwd='%s.git' % pkg) 64 65 # Early in the project's history, there were a bunch of double 66 # directory trees - i.e. the source was actually in 67 # trunk/packages/$package/$package. Correct for that 68 cwd = os.getcwd() 69 os.environ['PACKAGE'] = pkg 70 p = subprocess.check_call(['git', 'filter-branch', 71 '--commit-filter', '%s "$@"' % os.path.join(cwd, 'filter-subdirs'), 72 '--tag-name-filter', 'cat', 73 '--', 74 '--all'], 63 75 cwd='%s.git' % pkg) 64 76
Note: See TracChangeset
for help on using the changeset viewer.