Mercurial > hg > hg-fastimport
changeset 20:1fd08644b5ac
Factor out fastimport-common
| author | Greg Ward <greg-hg@gerg.ca> |
|---|---|
| date | Sat, 02 May 2009 18:08:56 -0400 |
| parents | d246bcee93ec |
| children | 932e78684043 |
| files | tests/test-fastimport-anonbranch tests/test-fastimport-empty tests/test-fastimport-simple |
| diffstat | 3 files changed, 3 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-fastimport-anonbranch Sat May 02 18:04:52 2009 -0400 +++ b/tests/test-fastimport-anonbranch Sat May 02 18:08:56 2009 -0400 @@ -7,11 +7,7 @@ # \ / # 3 -- 5 ----- -cat > $HGRCPATH <<EOF -[extensions] -graphlog = -fastimport = $TESTDIR/../fastimport -EOF +. $TESTDIR/fastimport-common cat > anonbranch.dump <<__EOF__ # rev 0
--- a/tests/test-fastimport-empty Sat May 02 18:04:52 2009 -0400 +++ b/tests/test-fastimport-empty Sat May 02 18:08:56 2009 -0400 @@ -2,10 +2,7 @@ # Import an empty fastimport dump. -cat > $HGRCPATH <<EOF -[extensions] -fastimport = $TESTDIR/../fastimport -EOF +. $TESTDIR/fastimport-common hg init dest cd dest
--- a/tests/test-fastimport-simple Sat May 02 18:04:52 2009 -0400 +++ b/tests/test-fastimport-simple Sat May 02 18:08:56 2009 -0400 @@ -2,11 +2,7 @@ # A simple dump: two commits, no marks, no blobs -cat > $HGRCPATH <<EOF -[extensions] -graphlog = -fastimport = $TESTDIR/../fastimport -EOF +. $TESTDIR/fastimport-common cat > simple.dump <<__EOF__ commit refs/heads/master
