equal
deleted
inserted
replaced
1 #!/bin/sh |
|
2 |
|
3 # issues when status queries are issued when dirstate is dirty |
|
4 |
|
5 "$TESTDIR/hghave" inotify || exit 80 |
|
6 |
|
7 echo "[extensions]" >> $HGRCPATH |
|
8 echo "inotify=" >> $HGRCPATH |
|
9 echo "fetch=" >> $HGRCPATH |
|
10 |
|
11 echo % issue1810: inotify and fetch |
|
12 mkdir test; cd test |
|
13 hg init |
|
14 hg inserve -d --pid-file=../hg.pid |
|
15 cat ../hg.pid >> "$DAEMON_PIDS" |
|
16 |
|
17 echo foo > foo |
|
18 hg add |
|
19 hg ci -m foo |
|
20 |
|
21 cd .. |
|
22 |
|
23 hg --config "inotify.pidfile=../hg2.pid" clone test test2 |
|
24 cat ../hg2.pid >> "$DAEMON_PIDS" |
|
25 |
|
26 cd test2 |
|
27 echo bar > bar |
|
28 hg add |
|
29 hg ci -m bar |
|
30 cd ../test |
|
31 echo spam > spam |
|
32 hg add |
|
33 hg ci -m spam |
|
34 cd ../test2 |
|
35 hg st |
|
36 |
|
37 # abort, outstanding changes |
|
38 hg fetch -q |
|
39 hg st |
|
40 cd .. |
|
41 |
|
42 |
|
43 echo % issue1719: inotify and mq |
|
44 |
|
45 echo "mq=" >> $HGRCPATH |
|
46 |
|
47 hg init test-1719 |
|
48 cd test-1719 |
|
49 |
|
50 echo % inserve |
|
51 hg inserve -d --pid-file=../hg-test-1719.pid |
|
52 cat ../hg-test-1719.pid >> "$DAEMON_PIDS" |
|
53 |
|
54 echo content > file |
|
55 hg add file |
|
56 |
|
57 hg qnew -f test.patch |
|
58 |
|
59 hg status |
|
60 hg qpop |
|
61 |
|
62 echo % st should not output anything |
|
63 hg status |
|
64 |
|
65 hg qpush |
|
66 |
|
67 echo % st should not output anything |
|
68 hg status |
|
69 |
|
70 hg qrefresh |
|
71 hg status |
|