comparison tests/test-convert-git.t @ 16892:cfd892b7569f

test-convert: disable autocrlf for git Git might have autocrlf=true as a global or default setting, especially on windows. That is not expected in the tests and can cause + warning: LF will be replaced by CRLF in d/b. + The file will have its original line endings in your working directory. Explicitly setting it false will make the test pass in some setups - but still not out of the box.
author Eduard-Cristian Stefan <alexandrul.ct@gmail.com>
date Fri, 08 Jun 2012 05:31:28 +0300
parents 1e9451476bf8
children 46ccd44dd65b
comparison
equal deleted inserted replaced
16891:b0e8afdfa970 16892:cfd892b7569f
1 1
2 $ "$TESTDIR/hghave" git || exit 80 2 $ "$TESTDIR/hghave" git || exit 80
3 $ echo "[core]" >> $HOME/.gitconfig
4 $ echo "autocrlf = false" >> $HOME/.gitconfig
3 $ echo "[extensions]" >> $HGRCPATH 5 $ echo "[extensions]" >> $HGRCPATH
4 $ echo "convert=" >> $HGRCPATH 6 $ echo "convert=" >> $HGRCPATH
5 $ echo 'hgext.graphlog =' >> $HGRCPATH 7 $ echo 'hgext.graphlog =' >> $HGRCPATH
6 $ GIT_AUTHOR_NAME='test'; export GIT_AUTHOR_NAME 8 $ GIT_AUTHOR_NAME='test'; export GIT_AUTHOR_NAME
7 $ GIT_AUTHOR_EMAIL='test@example.org'; export GIT_AUTHOR_EMAIL 9 $ GIT_AUTHOR_EMAIL='test@example.org'; export GIT_AUTHOR_EMAIL