view tests/test-convert-bzr-114 @ 8607:e17eba98c789

inotify: handle_event: do not use event and fd parameters. event is particularly confusing given the context (is it an inotify event? a polling event?) and is never used. Remove it. fd has very little use, and it gives the false impression that event handling depends on fd. It's wrong: the same behavior is triggered, for all events.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Thu, 21 May 2009 16:54:05 +0900
parents 13b36eb14324
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" bzr114 || exit 80

. "$TESTDIR/bzr-definitions"

# The file/directory replacement can only be reproduced on
# bzr >= 1.4. Merge it back in test-convert-bzr-directories once
# this version becomes mainstream.
echo % replace file with dir
mkdir test-replace-file-with-dir
cd test-replace-file-with-dir
bzr init -q source
cd source
echo d > d
bzr add -q d
bzr commit -q -m 'add d file'
rm d
mkdir d
bzr add -q d
bzr commit -q -m 'replace with d dir'
echo a > d/a
bzr add -q d/a
bzr commit -q -m 'add d/a'
cd ..
hg convert source source-hg
manifest source-hg tip
cd source-hg
hg update
cd ../..