view tests/test-backwards-remove @ 11050:5d35f7d93514

commands: refactor diff --stat and qdiff --stat `opts['unified'] = '0'` can be replaced by `diffopts.context = 0`.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 07 Apr 2010 00:45:20 +0900
parents 7544700fd931
children
line wrap: on
line source

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