##// END OF EJS Templates
repoview: show `extrafilter` misbehave when other filtering is in play...
marmoute -
r51664:d2457318 stable
parent child Browse files
Show More
@@ -8,32 +8,18 b''
8 $ cd ..
8 $ cd ..
9 $ hg init test2
9 $ hg init test2
10 $ cd test2
10 $ cd test2
11 $ hg incoming http://foo:xyzzy@localhost:$HGPORT/
11 $ hg incoming http://foo:xyzzy@localhost:$HGPORT/ -T '{desc}\n'
12 comparing with http://foo:***@localhost:$HGPORT/
12 comparing with http://foo:***@localhost:$HGPORT/
13 changeset: 0:1ea73414a91b
13 r0
14 user: debugbuilddag
14 r1
15 date: Thu Jan 01 00:00:00 1970 +0000
16 summary: r0
17
18 changeset: 1:66f7d451a68b
19 tag: tip
20 user: debugbuilddag
21 date: Thu Jan 01 00:00:01 1970 +0000
22 summary: r1
23
24 $ killdaemons.py
15 $ killdaemons.py
25
16
26 $ cd ..
17 $ cd ..
27 $ hg -R test --config server.view=immutable serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
18 $ hg -R test --config server.view=immutable serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
28 $ cat hg.pid >> $DAEMON_PIDS
19 $ cat hg.pid >> $DAEMON_PIDS
29 $ hg -R test2 incoming http://foo:xyzzy@localhost:$HGPORT/
20 $ hg -R test2 incoming http://foo:xyzzy@localhost:$HGPORT/ -T '{desc}\n'
30 comparing with http://foo:***@localhost:$HGPORT/
21 comparing with http://foo:***@localhost:$HGPORT/
31 changeset: 0:1ea73414a91b
22 r0
32 tag: tip
33 user: debugbuilddag
34 date: Thu Jan 01 00:00:00 1970 +0000
35 summary: r0
36
37
23
38 Check same result using `experimental.extra-filter-revs`
24 Check same result using `experimental.extra-filter-revs`
39
25
@@ -66,3 +52,69 b' cleanup'
66
52
67 $ cat errors.log
53 $ cat errors.log
68 $ killdaemons.py
54 $ killdaemons.py
55
56 Check the behavior is other filtered revision exists
57 ----------------------------------------------------
58
59 add more content and complexity to the repository too
60
61 $ hg -R test debugbuilddag '+6:branchpoint.:left+4*branchpoint.:right+5' --from-existing
62 $ hg -R test phase --public 'desc("re:^r11$")'
63 $ hg -R test phase --secret --force 'desc("re:^r9$")'
64 $ hg -R test log -G -T '{desc} {phase}\n'
65 o r17 draft
66 |
67 o r16 draft
68 |
69 o r15 draft
70 |
71 o r14 draft
72 |
73 o r13 draft
74 |
75 o r12 draft
76 |
77 o r11 public
78 |
79 | o r10 secret
80 | |
81 | o r9 secret
82 | |
83 | o r8 draft
84 | |
85 | o r7 draft
86 | |
87 | o r6 draft
88 |/
89 o r5 public
90 |
91 o r4 public
92 |
93 o r3 public
94 |
95 o r2 public
96 |
97 o r1 public
98 |
99 o r0 public
100
101 $ hg -R test --config experimental.extra-filter-revs='(desc("re:^r13$") + desc("re:^r10$"))::' serve -p $HGPORT1 -d --pid-file=hg2.pid -E errors.log
102 $ cat hg2.pid >> $DAEMON_PIDS
103 $ hg -R test2 incoming http://foo:xyzzy@localhost:$HGPORT1/ -T '{desc}\n'
104 comparing with http://foo:***@localhost:$HGPORT1/
105 r0
106 r1
107 r2
108 r3
109 r4
110 r5
111 r6 (missing-correct-output !)
112 r7 (missing-correct-output !)
113 r8 (missing-correct-output !)
114 r11 (missing-correct-output !)
115 r12 (missing-correct-output !)
116
117 cleanups
118
119 $ cat errors.log
120 $ killdaemons.py
General Comments 0
You need to be logged in to leave comments. Login now