Changeset 1875 for trunk/scripts


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

Pointless housekeeping.

File:
1 edited

Legend:

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

    r1874 r1875  
    1212        # Use --no-follow-parent because we're going to handle that with
    1313        # grafts.
    14         subprocess.check_call(['git', 'svn', 'clone', '--no-follow-parent',
     14        subprocess.check_call(['git', 'svn', 'clone',
     15                               '--no-follow-parent',
    1516                               '-Aauthors',
    1617                               '-q',
    17                                '--no-metadata', '%s/packages/%s' % (base, pkg)],
     18                               '--no-metadata',
     19                               '%s/packages/%s' % (base, pkg)],
    1820                              stdout=subprocess.PIPE)
    1921       
    2022        # Then make the repository bare, because git-svn can't do this
    2123        shutil.move('%s/.git' % pkg, '%s.git' % pkg)
    22         shutil.rmtree('%s' % pkg)
    23         subprocess.check_call(['git', 'config', 'core.bare', 'true'], cwd='%s.git' % pkg)
     24        shutil.rmtree(pkg)
     25        subprocess.check_call(['git', 'config', 'core.bare', 'true'],
     26                              cwd='%s.git' % pkg)
    2427
    2528def cloneAllPackages(base):
Note: See TracChangeset for help on using the changeset viewer.