Changeset 1881 for trunk/scripts


Ignore:
Timestamp:
Dec 24, 2008, 5:46:15 PM (16 years ago)
Author:
broder
Message:

Start by pushing revisions around as necessary for merging.

File:
1 edited

Legend:

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

    r1880 r1881  
    4141
    4242def mergeHistory(old_pkg, new_pkg, n):
    43     pass
     43    cwd = os.getcwd()
     44    subprocess.check_call(['git', 'push',
     45                           'file:///%s/%s.git' % (cwd, new_pkg),
     46                           'master:refs/heads/%s' % old_pkg],
     47                          cwd=new_pkg)
    4448
    4549def mergeHistories():
Note: See TracChangeset for help on using the changeset viewer.