Changeset 1884


Ignore:
Timestamp:
Dec 24, 2008, 6:20:39 PM (16 years ago)
Author:
broder
Message:

Grafts is a poor name for the list of merges. Let's call it merges
instead.

Location:
trunk/scripts/git-migration
Files:
1 edited
1 moved

Legend:

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

    r1883 r1884  
    8282
    8383def mergeHistories():
    84     grafts = []
    85     for line in open('grafts'):
     84    merges = []
     85    for line in open('merges'):
    8686        line = line.strip()
    8787        if line[0] == '#' or line == '':
    8888            continue
    8989       
    90         grafts.append(line.split())
     90        merges.append(line.split())
    9191   
    92     for graft in grafts:
    93         mergeHistory(*graft)
     92    for merge in merges:
     93        mergeHistory(*merge)
    9494   
    9595    for line in open('package-list'):
     
    100100                              cwd='%s.git' % line)
    101101   
    102     for graft in grafts:
    103         shutil.rmtree('%s.git' % graft[0])
     102    for merge in merges:
     103        shutil.rmtree('%s.git' % merge[0])
    104104
    105105if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.