annotate tests/test-repo-filters-tiptoe.t @ 50400:95acba2c29f6

encoding: avoid quadratic time complexity when json-encoding non-UTF8 strings Apparently the code uses "+=" with a bytes object, which is linear-time, so the whole encoding is quadratic-time. This patch makes us use a bytearray object, instead, which has a(n amortized-)constant-time append operation. The encoding is still not particularly fast, but at least a 10MB file takes tens of seconds, not many hours to encode.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Mon, 06 Mar 2023 11:27:57 +0000
parents 30862e226339
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
43756
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
1 ===================================
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
2 Test repository filtering avoidance
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
3 ===================================
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
4
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
5 This test file is a bit special as he does not check feature, but performance related internal code path.
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
6
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
7 Right now, filtering a repository comes with a cost that might be significant.
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
8 Until this get better, ther are various operation that try hard not to trigger
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
9 a filtering computation. This test file make sure we don't reintroduce code that trigger the filtering for these operation:
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
10
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
11 Setup
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
12 -----
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
13 $ hg init test-repo
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
14 $ cd test-repo
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
15 $ echo "some line" > z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
16 $ echo a > a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
17 $ hg commit -Am a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
18 adding a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
19 adding z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
20 $ echo "in a" >> z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
21 $ echo b > b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
22 $ hg commit -Am b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
23 adding b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
24 $ echo "file" >> z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
25 $ echo c > c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
26 $ hg commit -Am c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
27 adding c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
28 $ hg rm a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
29 $ echo c1 > c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
30 $ hg add c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
31 c already tracked!
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
32 $ echo d > d
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
33 $ hg add d
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
34 $ rm b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
35
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
36 $ cat << EOF >> $HGRCPATH
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
37 > [devel]
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
38 > debug.repo-filters = yes
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
39 > [ui]
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
40 > debug = yes
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
41 > EOF
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
42
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
43
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
44 tests
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
45 -----
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
46
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
47 Getting the node of `null`
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
48
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
49 $ hg log -r null -T "{node}\n"
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
50 0000000000000000000000000000000000000000
43759
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43758
diff changeset
51
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43758
diff changeset
52 Getting basic changeset inforation about `null`
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43758
diff changeset
53
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43758
diff changeset
54 $ hg log -r null -T "{node}\n{date}\n"
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43758
diff changeset
55 0000000000000000000000000000000000000000
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43758
diff changeset
56 0.00
43762
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
57
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
58 Getting status of null
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
59
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
60 $ hg status --change null
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
61
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
62 Getting status of working copy
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
63
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
64 $ hg status
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
65 M c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
66 A d
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
67 R a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
68 ! b
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
69
44275
66dab0d9a78e tests: add test showing that repo filter is calculated for `hg st --copies`
Martin von Zweigbergk <martinvonz@google.com>
parents: 44108
diff changeset
70 $ hg status --copies
66dab0d9a78e tests: add test showing that repo filter is calculated for `hg st --copies`
Martin von Zweigbergk <martinvonz@google.com>
parents: 44108
diff changeset
71 M c
66dab0d9a78e tests: add test showing that repo filter is calculated for `hg st --copies`
Martin von Zweigbergk <martinvonz@google.com>
parents: 44108
diff changeset
72 A d
66dab0d9a78e tests: add test showing that repo filter is calculated for `hg st --copies`
Martin von Zweigbergk <martinvonz@google.com>
parents: 44108
diff changeset
73 R a
66dab0d9a78e tests: add test showing that repo filter is calculated for `hg st --copies`
Martin von Zweigbergk <martinvonz@google.com>
parents: 44108
diff changeset
74 ! b
66dab0d9a78e tests: add test showing that repo filter is calculated for `hg st --copies`
Martin von Zweigbergk <martinvonz@google.com>
parents: 44108
diff changeset
75
43762
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
76 Getting data about the working copy parent
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
77
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
78 $ hg log -r '.' -T "{node}\n{date}\n"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
79 c2932ca7786be30b67154d541a8764fae5532261
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
80 0.00
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
81
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
82 Getting working copy diff
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
83
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
84 $ hg diff
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
85 diff -r c2932ca7786be30b67154d541a8764fae5532261 a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
86 --- a/a Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
87 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
88 @@ -1,1 +0,0 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
89 -a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
90 diff -r c2932ca7786be30b67154d541a8764fae5532261 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
91 --- a/c Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
92 +++ b/c Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
93 @@ -1,1 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
94 -c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
95 +c1
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
96 diff -r c2932ca7786be30b67154d541a8764fae5532261 d
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
97 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
98 +++ b/d Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
99 @@ -0,0 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
100 +d
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
101 $ hg diff --change .
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
102 diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
103 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
104 +++ b/c Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
105 @@ -0,0 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
106 +c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
107 diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 z
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
108 --- a/z Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
109 +++ b/z Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
110 @@ -1,2 +1,3 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
111 some line
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
112 in a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
113 +file
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
114
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
115 exporting the current changeset
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
116
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
117 $ hg export
44106
bfaf4c673bec localrepo: recognize trivial request for '.'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 44104
diff changeset
118 exporting patch:
43762
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
119 # HG changeset patch
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
120 # User test
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
121 # Date 0 0
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
122 # Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
123 # Node ID c2932ca7786be30b67154d541a8764fae5532261
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
124 # Parent 05293e5dd8d1ae4f84a8520a11c6f97cad26deca
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
125 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
126
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
127 diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
128 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
129 +++ b/c Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
130 @@ -0,0 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
131 +c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
132 diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 z
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
133 --- a/z Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
134 +++ b/z Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
135 @@ -1,2 +1,3 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
136 some line
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
137 in a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
138 +file
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
139
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
140 using annotate
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
141
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
142 - file with a single change
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
143
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
144 $ hg annotate a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
145 0: a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
146
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
147 - file with multiple change
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
148
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
149 $ hg annotate z
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
150 0: some line
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
151 1: in a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43761
diff changeset
152 2: file