tests/test-backwards-remove
author Matt Mackall <mpm@selenic.com>
Fri, 11 Jul 2008 18:46:02 -0500
changeset 6770 854b907527e5
parent 1933 7544700fd931
permissions -rwxr-xr-x
status: various cleanups - rename lookup to cmp for formatting reasons - reduce nesting level of fixup code - sort fixup results - group comparison cases in a separate clause - make list initialization simpler - delay flag lookup for working directory - sort removed list in comparison - avoid sorting already sorted lists

#!/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