Mercurial > hg
view tests/test-revert-unknown @ 2700:de8dc25a3eeb
Backed out changeset 2ab464771b7d15c60014996d2853efc92cdb8465
- it always runs chmod
- uses chmod in an unsafe way
- if somebody does a clone of a repo, runs 'make tests', everything is fine,
so he can assume the original repo is fine, too, but it is not.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 27 Jul 2006 18:53:10 +0200 |
parents | 7544700fd931 |
children | 890e285c52a1 |
line wrap: on
line source
#!/bin/sh hg init touch unknown touch a hg add a hg ci -m "1" -d "1000000 0" touch b hg add b hg ci -m "2" -d "1000000 0" echo %% Should show unknown hg status hg revert -r 0 echo %% Should show unknown and b removed hg status echo %% Should show a and unknown ls