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