Mercurial > hg-stable
diff tests/test-glog.t @ 17014:50fbe9063ff2
tests: convert some 'hghave no-outer-repo' to #if
In some places we instead use 'hg init' to create a well-known outer repo
without any special extensions or other config settings.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 20 Jun 2012 23:41:21 +0200 |
parents | f2719b387380 |
children | 01d847e0fdc9 |
line wrap: on
line diff
--- a/tests/test-glog.t Wed Jun 20 12:30:16 2012 -0500 +++ b/tests/test-glog.t Wed Jun 20 23:41:21 2012 +0200 @@ -69,8 +69,6 @@ o (0) root - $ "$TESTDIR/hghave" no-outer-repo || exit 80 - $ commit() > { > rev=$1 @@ -1136,8 +1134,11 @@ Empty revision range - display nothing: $ hg glog -r 1..0 + $ cd .. + +#if no-outer-repo + From outer space: - $ cd .. $ hg glog -l1 repo @ changeset: 34:fea3ac5810e0 | tag: tip @@ -1156,6 +1157,8 @@ | $ hg glog -l1 repo/missing +#endif + File log with revs != cset revs: $ hg init flog $ cd flog