tests/test-cat
changeset 6328 991f7518c3f3
parent 6093 f5b00b6e426a
equal deleted inserted replaced
6327:6d952dc2abc9 6328:991f7518c3f3
     7 echo 0 > b
     7 echo 0 > b
     8 hg ci -A -m m -d "1000000 0"
     8 hg ci -A -m m -d "1000000 0"
     9 hg rm a
     9 hg rm a
    10 hg cat a
    10 hg cat a
    11 hg cat --decode a # more tests in test-encode
    11 hg cat --decode a # more tests in test-encode
    12 sleep 1 # make sure mtime is changed
       
    13 echo 1 > b
    12 echo 1 > b
    14 hg ci -m m -d "1000000 0"
    13 hg ci -m m -d "1000000 0"
    15 echo 2 > b
    14 echo 2 > b
    16 hg cat -r 0 a
    15 hg cat -r 0 a
    17 hg cat -r 0 b
    16 hg cat -r 0 b