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

r9897:97eda213 stable
r10378:e1401c74 default
Show More
test-inotify-dirty-dirstate
71 lines | 1.0 KiB | text/plain | TextLexer
/ tests / test-inotify-dirty-dirstate
Nicolas Dumazet
inotify: Do not access inotify when dirstate is dirty (issue1811)...
r9855 #!/bin/sh
# issues when status queries are issued when dirstate is dirty
"$TESTDIR/hghave" inotify || exit 80
echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH
echo "fetch=" >> $HGRCPATH
echo % issue1810: inotify and fetch
mkdir test; cd test
hg init
Benoit Boissinot
inotify: workaround test-inotify-dirty-dirstate failures...
r9859 hg inserve -d --pid-file=../hg.pid
cat ../hg.pid >> "$DAEMON_PIDS"
Nicolas Dumazet
inotify: Do not access inotify when dirstate is dirty (issue1811)...
r9855
echo foo > foo
hg add
hg ci -m foo
cd ..
Nicolas Dumazet
inotify: add a inotify.pidfile configuration possibility...
r9897 hg --config "inotify.pidfile=../hg2.pid" clone test test2
cat ../hg2.pid >> "$DAEMON_PIDS"
Nicolas Dumazet
inotify: Do not access inotify when dirstate is dirty (issue1811)...
r9855 cd test2
echo bar > bar
hg add
hg ci -m bar
cd ../test
echo spam > spam
hg add
hg ci -m spam
cd ../test2
hg st
# abort, outstanding changes
hg fetch -q
hg st
cd ..
echo % issue1719: inotify and mq
echo "mq=" >> $HGRCPATH
hg init test-1719
cd test-1719
echo % inserve
Benoit Boissinot
inotify: workaround test-inotify-dirty-dirstate failures...
r9859 hg inserve -d --pid-file=../hg-test-1719.pid
cat ../hg-test-1719.pid >> "$DAEMON_PIDS"
Nicolas Dumazet
inotify: Do not access inotify when dirstate is dirty (issue1811)...
r9855
echo content > file
hg add file
hg qnew -f test.patch
hg status
hg qpop
echo % st should not output anything
hg status
hg qpush
echo % st should not output anything
hg status
hg qrefresh
hg status