Skip to content
Snippets Groups Projects
Commit 9661514f authored by Martin Geisler's avatar Martin Geisler
Browse files

tests: unify test-backwards-remove

parent db969ebd
No related branches found
No related tags found
No related merge requests found
a
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
a
#!/bin/sh
hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
ls
echo This is file b1 > b
hg add b
hg commit -m "commit #1" -d "1000000 0"
hg co 0
# B should disappear
ls
$ hg init
$ echo This is file a1 > a
$ hg add a
$ hg commit -m "commit #0" -d "1000000 0"
$ ls
a
$ echo This is file b1 > b
$ hg add b
$ hg commit -m "commit #1" -d "1000000 0"
$ hg co 0
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
B should disappear
$ ls
a
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment