tests/test-inotify-dirty-dirstate
changeset 9859 951ec6c7d703
parent 9855 f47c0881b16e
child 9897 97eda2133a9b
equal deleted inserted replaced
9858:ea38a2c1bdd3 9859:951ec6c7d703
     9 echo "fetch=" >> $HGRCPATH
     9 echo "fetch=" >> $HGRCPATH
    10 
    10 
    11 echo % issue1810: inotify and fetch
    11 echo % issue1810: inotify and fetch
    12 mkdir test; cd test
    12 mkdir test; cd test
    13 hg init
    13 hg init
       
    14 hg inserve -d --pid-file=../hg.pid
       
    15 cat ../hg.pid >> "$DAEMON_PIDS"
    14 
    16 
    15 echo foo > foo
    17 echo foo > foo
    16 hg add
    18 hg add
    17 hg ci -m foo
    19 hg ci -m foo
    18 
    20 
    19 cd ..
    21 cd ..
    20 
    22 
    21 hg clone test test2
    23 hg --config "extensions.inotify=!" clone test test2
    22 cd test2
    24 cd test2
       
    25 hg inserve -d --pid-file=../hg2.pid
       
    26 cat ../hg2.pid >> "$DAEMON_PIDS"
    23 echo bar > bar
    27 echo bar > bar
    24 hg add
    28 hg add
    25 hg ci -m bar
    29 hg ci -m bar
    26 cd ../test
    30 cd ../test
    27 echo spam > spam
    31 echo spam > spam
    42 
    46 
    43 hg init test-1719
    47 hg init test-1719
    44 cd test-1719
    48 cd test-1719
    45 
    49 
    46 echo % inserve
    50 echo % inserve
    47 hg inserve -d --pid-file=hg.pid
    51 hg inserve -d --pid-file=../hg-test-1719.pid
    48 cat hg.pid >> "$DAEMON_PIDS"
    52 cat ../hg-test-1719.pid >> "$DAEMON_PIDS"
    49 
    53 
    50 echo content > file
    54 echo content > file
    51 hg add file
    55 hg add file
    52 
    56 
    53 hg qnew -f test.patch
    57 hg qnew -f test.patch