Changeset 1876
- Timestamp:
- Dec 24, 2008, 5:46:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/git-migration/git-migrate
r1875 r1876 25 25 subprocess.check_call(['git', 'config', 'core.bare', 'true'], 26 26 cwd='%s.git' % pkg) 27 28 # Some of these repos have a rev where everything was deleted 29 # as a result of the move. We don't want that rev to exist. 30 p = subprocess.Popen(['git', 'ls-files'], 31 cwd='%s.git' % pkg, 32 stdout=subprocess.PIPE) 33 p.wait() 34 if len(p.stdout.read()) == 0: 35 subprocess.check_call(['git', 'reset', 'HEAD^'], 36 cwd='%s.git' % pkg) 27 37 28 38 def cloneAllPackages(base):
Note: See TracChangeset
for help on using the changeset viewer.