Changeset 1894 for trunk/scripts


Ignore:
Timestamp:
Dec 25, 2008, 1:41:49 AM (16 years ago)
Author:
broder
Message:

Do at least a little cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/git-migration/git-migrate

    r1893 r1894  
    119119                     '--all'],
    120120                    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)
    121127
    122128def mergeHistories():
     
    131137    for merge in merges:
    132138        mergeHistory(*merge)
     139   
     140    for merge in merges:
     141        shutil.rmtree('%s.git' % merge[0])
    133142
    134143if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.