Skip to content

Commit

Permalink
hg prev is not a vanilla command, use updated instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Goodwine committed Mar 25, 2017
1 parent 105366b commit c9acd63
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion test/tagless_repo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
hg prev

new-item -type File "clean_file2"
hg add "clean_file2"
hg commit -m "Commit 2" -u "Tester <[email protected]>"

hg checkout -r -2
7 changes: 6 additions & 1 deletion test/tagless_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ cd "$1"
touch "clean_file"
hg add "clean_file"
hg commit -m "Commit 1" -u "Tester <[email protected]>"
hg prev

touch "clean_file2"
hg add "clean_file2"
hg commit -m "Commit 2" -u "Tester <[email protected]>"

hg update -r -2

0 comments on commit c9acd63

Please sign in to comment.