##// END OF EJS Templates
subrepo: change default path in hgrc of subrepo after cloning...
subrepo: change default path in hgrc of subrepo after cloning Previous behavior was to put in the cloned subrepos the path found in the original main repo. However it isn't valid for relative path and it seems more logical to reference instead the subrepos working copy path of the original main repo.

File last commit:

r6997:9c4e488f default
r10378:e1401c74 default
Show More
test-inotify-issue1208
24 lines | 427 B | text/plain | TextLexer
/ tests / test-inotify-issue1208
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 #!/bin/sh
"$TESTDIR/hghave" inotify || exit 80
echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH
p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
hg init $p
cd $p
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997 echo % fail
ln -sf doesnotexist .hg/inotify.sock
hg st
hg inserve
rm .hg/inotify.sock
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 echo % inserve
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997 hg inserve -d --pid-file=hg.pid
cat hg.pid >> "$DAEMON_PIDS"
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 echo % status
hg status
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997
kill `cat hg.pid`