diff --git a/test/tagless_repo.ps1 b/test/tagless_repo.ps1 index 6007194..27952fa 100644 --- a/test/tagless_repo.ps1 +++ b/test/tagless_repo.ps1 @@ -4,4 +4,9 @@ set-location $args[0] new-item -type File "clean_file" hg add "clean_file" hg commit -m "Commit 1" -u "Tester " -hg prev + +new-item -type File "clean_file2" +hg add "clean_file2" +hg commit -m "Commit 2" -u "Tester " + +hg checkout -r -2 diff --git a/test/tagless_repo.sh b/test/tagless_repo.sh index 15fa96e..f59111a 100755 --- a/test/tagless_repo.sh +++ b/test/tagless_repo.sh @@ -7,4 +7,9 @@ cd "$1" touch "clean_file" hg add "clean_file" hg commit -m "Commit 1" -u "Tester " -hg prev + +touch "clean_file2" +hg add "clean_file2" +hg commit -m "Commit 2" -u "Tester " + +hg update -r -2