tests/test-addremove
author john.levon@sun.com
Thu, 11 May 2006 14:32:09 -0700
changeset 2267 d812d91c5a84
parent 1933 7544700fd931
child 2958 ff3ea21a981a
permissions -rwxr-xr-x
Force editor to appear for an 'hg backout' if a message or logfile aren't supplied. Pre-fill the commit message with the changeset being backed out. Fixes bug 238.

#!/bin/sh

hg init rep
cd rep
mkdir dir
touch foo dir/bar
hg -v addremove
hg -v commit -m "add 1" -d "1000000 0"
cd dir/
touch ../foo_2 bar_2
hg -v addremove
hg -v commit -m "add 2" -d "1000000 0"