diff options
Diffstat (limited to 'tests/test-convert-git.t')
-rw-r--r-- | tests/test-convert-git.t | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/test-convert-git.t b/tests/test-convert-git.t index e4261b7..7b1c2aa 100644 --- a/tests/test-convert-git.t +++ b/tests/test-convert-git.t @@ -1,9 +1,5 @@ $ "$TESTDIR/hghave" git || exit 80 - $ echo "[core]" >> $HOME/.gitconfig - $ echo "autocrlf = false" >> $HOME/.gitconfig - $ echo "[core]" >> $HOME/.gitconfig - $ echo "autocrlf = false" >> $HOME/.gitconfig $ echo "[extensions]" >> $HGRCPATH $ echo "convert=" >> $HGRCPATH $ echo 'hgext.graphlog =' >> $HGRCPATH @@ -202,6 +198,8 @@ full conversion 354ae8da6e890359ef49ade27b68bbc361f3ca88 644 baz 9277c9cc8dd4576fc01a17939b4351e5ada93466 644 foo 88dfeab657e8cf2cef3dec67b914f49791ae76b1 644 quux + $ echo + test binary conversion (issue 1359) @@ -228,6 +226,8 @@ convert binary file $ python -c 'print len(file("b", "rb").read())' 4096 $ cd .. + $ echo + test author vs committer @@ -285,12 +285,9 @@ damage git repository and convert again $ cat > damage.py <<EOF > import os - > import stat > for root, dirs, files in os.walk('git-repo4/.git/objects'): > if files: > path = os.path.join(root, files[0]) - > if os.name == 'nt': - > os.chmod(path, stat.S_IWUSR) > os.remove(path) > break > EOF |