Mercurial > hg
comparison tests/test-import-bypass.t @ 16899:8149ff405c78
tests: convert some 'hghave execbit' to #if
This enables some new tests for running on windows.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 10 Jun 2012 14:14:05 +0200 |
parents | 0e0060bf2f44 |
children | f2719b387380 |
comparison
equal
deleted
inserted
replaced
16898:bb91c602d4ad | 16899:8149ff405c78 |
---|---|
1 $ "$TESTDIR/hghave" symlink execbit || exit 80 | |
2 | |
3 $ echo "[extensions]" >> $HGRCPATH | 1 $ echo "[extensions]" >> $HGRCPATH |
4 $ echo "purge=" >> $HGRCPATH | 2 $ echo "purge=" >> $HGRCPATH |
5 $ echo "graphlog=" >> $HGRCPATH | 3 $ echo "graphlog=" >> $HGRCPATH |
6 | 4 |
7 $ shortlog() { | 5 $ shortlog() { |
215 |/ | 213 |/ |
216 o 0:07f494440405 test 0 0 - default - adda | 214 o 0:07f494440405 test 0 0 - default - adda |
217 | 215 |
218 | 216 |
219 $ cd .. | 217 $ cd .. |
218 | |
219 #if symlink execbit | |
220 | 220 |
221 Test complicated patch with --exact | 221 Test complicated patch with --exact |
222 | 222 |
223 $ hg init repo-exact | 223 $ hg init repo-exact |
224 $ cd repo-exact | 224 $ cd repo-exact |
263 $ shortlog | 263 $ shortlog |
264 o 1:2978fd5c8aa4 test 0 0 - default - patch | 264 o 1:2978fd5c8aa4 test 0 0 - default - patch |
265 | | 265 | |
266 o 0:a0e19e636a43 test 0 0 - default - t | 266 o 0:a0e19e636a43 test 0 0 - default - t |
267 | 267 |
268 #endif |