view tests/test-addremove @ 2220:6d3cc2a982f3

add filename to IOError if read of file fails. if file replaced with directory or symlink, IOError not fully filled out.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 08 May 2006 08:20:56 -0700
parents 7544700fd931
children ff3ea21a981a
line wrap: on
line source

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