Mercurial > evolve
changeset 2737:66278c4d9c07
prev: stop creating a repository at the root of 'test-repo.t'
We run the test in a subdirectory now, this usually avoid various kind of future issue.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 14 Jul 2017 01:21:32 +0200 |
parents | 3c87d5276394 |
children | 3f27fe80be26 |
files | tests/test-prev-next.t |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-prev-next.t Fri Jul 14 01:12:20 2017 +0200 +++ b/tests/test-prev-next.t Fri Jul 14 01:21:32 2017 +0200 @@ -5,7 +5,8 @@ $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH hg prev -B should move active bookmark - $ hg init + $ hg init test-repo + $ cd test-repo $ touch a $ hg add a $ hg commit -m 'added a' @@ -216,6 +217,8 @@ atop:[6] added b (3) working directory is now at 47ea25be8aea + $ cd .. + prev and next should lock properly against other commands $ hg init repo