Changeset 1892 for trunk


Ignore:
Timestamp:
Dec 24, 2008, 11:33:26 PM (16 years ago)
Author:
broder
Message:

Simplify out the need to know the CWD.

File:
1 edited

Legend:

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

    r1891 r1892  
    4141
    4242def mergeHistory(old_pkg, new_pkg, n):
    43     cwd = os.getcwd()
    4443    subprocess.check_call(['git', 'push',
    45                            'file:///%s/%s.git' % (cwd, new_pkg),
     44                           '../%s.git' % new_pkg,
    4645                           'master:refs/heads/%s' % old_pkg],
    4746                          cwd='%s.git' % old_pkg)
Note: See TracChangeset for help on using the changeset viewer.