Don't always init repository when doing fast-import.

This commit is contained in:
Tommi Virtanen 2007-12-31 19:18:52 +02:00
parent 27bd3c9954
commit be91386b45
2 changed files with 1 additions and 1 deletions

View file

@ -67,7 +67,6 @@ def fast_import(
"""
Create an initial commit.
"""
init(path=git_dir)
child = subprocess.Popen(
args=[
'git',

View file

@ -106,6 +106,7 @@ exec git "$@"
def test_fast_import_environment():
tmp = maketemp()
path = os.path.join(tmp, 'repo.git')
repository.init(path=path)
mockbindir = os.path.join(tmp, 'mockbin')
os.mkdir(mockbindir)
mockgit = os.path.join(mockbindir, 'git')