Mercurial > hg-stable
annotate tests/test-log-linerange.t @ 43675:d3c4368099ed
tests: test "hg log" with --line-range and --copies
This now works (does not crash), due to previous changeset. Since
--line-range implies --follow, --copies option is redundant.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Thu, 14 Nov 2019 11:33:05 +0100 |
parents | 814151cd8c4a |
children | 29adf0a087a1 |
rev | line source |
---|---|
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1 $ cat >> $HGRCPATH << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
2 > [diff] |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
3 > git = true |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
4 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
6 $ hg init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
7 $ cat > foo << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
8 > 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
9 > 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
10 > 2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
11 > 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
12 > 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
13 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
14 $ hg ci -Am init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
15 adding foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
16 $ cat > foo << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
17 > 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
18 > 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
19 > 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
20 > 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
21 > 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
22 > 2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
23 > 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
24 > 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
25 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
26 $ hg ci -m 'more 0' |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
27 $ sed 's/2/2+/' foo > foo.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
28 $ mv foo.new foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
29 $ cat > bar << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
30 > a |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
31 > b |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
32 > c |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
33 > d |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
34 > e |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
35 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
36 $ hg add bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
37 $ hg ci -Am "2 -> 2+; added bar" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
38 $ cat >> foo << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
39 > 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
40 > 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
41 > 7 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
42 > 8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
43 > 9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
44 > 10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
45 > 11 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
46 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
47 $ hg ci -m "to 11" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
48 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
49 Add some changes with two diff hunks |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
50 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
51 $ sed 's/^1$/ 1/' foo > foo.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
52 $ mv foo.new foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
53 $ sed 's/^11$/11+/' foo > foo.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
54 $ mv foo.new foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
55 $ hg ci -m '11 -> 11+; leading space before "1"' |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
56 (make sure there are two hunks in "foo") |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
57 $ hg diff -c . |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
58 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
59 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
60 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
61 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
62 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
63 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
64 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
65 -1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
66 + 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
67 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
68 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
69 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
70 @@ -12,4 +12,4 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
71 8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
72 9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
73 10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
74 -11 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
75 +11+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
76 $ sed 's/3/3+/' foo > foo.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
77 $ mv foo.new foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
78 $ sed 's/^11+$/11-/' foo > foo.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
79 $ mv foo.new foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
80 $ sed 's/a/a+/' bar > bar.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
81 $ mv bar.new bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
82 $ hg ci -m 'foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+' |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
83 (make sure there are two hunks in "foo") |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
84 $ hg diff -c . foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
85 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
86 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
87 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
88 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
89 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
90 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
91 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
92 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
93 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
94 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
95 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
96 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
97 @@ -12,4 +12,4 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
98 8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
99 9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
100 10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
101 -11+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
102 +11- |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
103 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
104 $ hg log -f -L foo,5:7 -p |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
105 changeset: 5:cfdf972b3971 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
106 tag: tip |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
107 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
108 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
109 summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
110 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
111 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
112 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
113 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
114 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
115 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
116 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
117 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
118 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
119 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
120 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
121 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
122 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
123 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
124 changeset: 4:eaec41c1a0c9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
125 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
126 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
127 summary: 11 -> 11+; leading space before "1" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
128 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
129 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
130 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
131 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
132 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
133 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
134 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
135 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
136 -1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
137 + 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
138 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
139 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
140 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
141 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
142 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
143 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
144 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
145 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
146 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
147 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
148 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
149 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
150 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
151 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
152 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
153 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
154 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
155 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
156 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
157 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
158 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
159 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
160 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
161 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
162 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
163 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
164 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
165 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
166 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
167 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
168 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
169 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
170 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
171 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
172 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
173 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
174 |
36071
dae84ccebc57
tests: fix check for --graph option in test-log-linerange.t
Denis Laxalde <denis@laxalde.org>
parents:
34937
diff
changeset
|
175 $ hg log -f --graph -L foo,5:7 -p |
36235
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
176 @ changeset: 5:cfdf972b3971 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
177 | tag: tip |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
178 | user: test |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
179 | date: Thu Jan 01 00:00:00 1970 +0000 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
180 | summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
181 | |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
182 | diff --git a/foo b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
183 | --- a/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
184 | +++ b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
185 | @@ -4,7 +4,7 @@ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
186 | 0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
187 | 1 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
188 | 2+ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
189 | -3 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
190 | +3+ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
191 | 4 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
192 | 5 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
193 | 6 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
194 | |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
195 o changeset: 4:eaec41c1a0c9 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
196 : user: test |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
197 : date: Thu Jan 01 00:00:00 1970 +0000 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
198 : summary: 11 -> 11+; leading space before "1" |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
199 : |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
200 : diff --git a/foo b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
201 : --- a/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
202 : +++ b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
203 : @@ -2,7 +2,7 @@ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
204 : 0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
205 : 0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
206 : 0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
207 : -1 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
208 : + 1 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
209 : 2+ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
210 : 3 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
211 : 4 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
212 : |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
213 o changeset: 2:63a884426fd0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
214 : user: test |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
215 : date: Thu Jan 01 00:00:00 1970 +0000 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
216 : summary: 2 -> 2+; added bar |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
217 : |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
218 : diff --git a/foo b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
219 : --- a/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
220 : +++ b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
221 : @@ -3,6 +3,6 @@ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
222 : 0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
223 : 0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
224 : 1 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
225 : -2 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
226 : +2+ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
227 : 3 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
228 : 4 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
229 : |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
230 o changeset: 0:5ae1f82b9a00 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
231 user: test |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
232 date: Thu Jan 01 00:00:00 1970 +0000 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
233 summary: init |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
234 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
235 diff --git a/foo b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
236 new file mode 100644 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
237 --- /dev/null |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
238 +++ b/foo |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
239 @@ -0,0 +1,5 @@ |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
240 +0 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
241 +1 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
242 +2 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
243 +3 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
244 +4 |
db26e6a0a677
graphlog: unblock --line-range option
Yuya Nishihara <yuya@tcha.org>
parents:
36071
diff
changeset
|
245 |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
246 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
247 With --template. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
248 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
249 $ hg log -f -L foo,5:7 -T '{rev}:{node|short} {desc|firstline}\n' |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
250 5:cfdf972b3971 foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
251 4:eaec41c1a0c9 11 -> 11+; leading space before "1" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
252 2:63a884426fd0 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
253 0:5ae1f82b9a00 init |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
254 $ hg log -f -L foo,5:7 -T json |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
255 [ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
256 { |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
257 "bookmarks": [], |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
258 "branch": "default", |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
259 "date": [0, 0], |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
260 "desc": "foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
261 "node": "cfdf972b3971a2a59638bf9583c0debbffee5404", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
262 "parents": ["eaec41c1a0c9ad0a5e999611d0149d171beffb8c"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
263 "phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
264 "rev": 5, |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
265 "tags": ["tip"], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
266 "user": "test" |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
267 }, |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
268 { |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
269 "bookmarks": [], |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
270 "branch": "default", |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
271 "date": [0, 0], |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
272 "desc": "11 -> 11+; leading space before \"1\"", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
273 "node": "eaec41c1a0c9ad0a5e999611d0149d171beffb8c", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
274 "parents": ["730a61fbaecf426c17c2c66bc42d195b5d5b0ba8"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
275 "phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
276 "rev": 4, |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
277 "tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
278 "user": "test" |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
279 }, |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
280 { |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
281 "bookmarks": [], |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
282 "branch": "default", |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
283 "date": [0, 0], |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
284 "desc": "2 -> 2+; added bar", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
285 "node": "63a884426fd0b277fcd55895bbb2f230434576eb", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
286 "parents": ["29a1e7c6b80024f63f310a2d71de979e9d2996d7"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
287 "phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
288 "rev": 2, |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
289 "tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
290 "user": "test" |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
291 }, |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
292 { |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
293 "bookmarks": [], |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
294 "branch": "default", |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
295 "date": [0, 0], |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
296 "desc": "init", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
297 "node": "5ae1f82b9a000ff1e0967d0dac1c58b9d796e1b4", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
298 "parents": ["0000000000000000000000000000000000000000"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
299 "phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
300 "rev": 0, |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
301 "tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
36997
diff
changeset
|
302 "user": "test" |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
303 } |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
304 ] |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
305 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
306 With some white-space diff option, respective revisions are skipped. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
307 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
308 $ hg log -f -L foo,5:7 -p --config diff.ignorews=true |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
309 changeset: 5:cfdf972b3971 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
310 tag: tip |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
311 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
312 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
313 summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
314 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
315 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
316 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
317 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
318 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
319 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
320 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
321 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
322 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
323 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
324 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
325 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
326 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
327 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
328 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
329 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
330 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
331 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
332 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
333 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
334 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
335 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
336 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
337 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
338 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
339 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
340 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
341 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
342 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
343 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
344 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
345 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
346 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
347 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
348 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
349 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
350 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
351 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
352 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
353 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
354 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
355 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
356 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
357 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
358 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
359 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
360 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
361 |
34906
2e45bbd3db7b
log: disable bare file patterns with --line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34905
diff
changeset
|
362 Regular file patterns are not allowed. |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
363 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
364 $ hg log -f -L foo,5:7 -p bar |
34906
2e45bbd3db7b
log: disable bare file patterns with --line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34905
diff
changeset
|
365 abort: FILE arguments are not compatible with --line-range option |
2e45bbd3db7b
log: disable bare file patterns with --line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34905
diff
changeset
|
366 [255] |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
367 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
368 Option --rev acts as a restriction. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
369 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
370 $ hg log -f -L foo,5:7 -p -r 'desc(2)' |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
371 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
372 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
373 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
374 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
375 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
376 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
377 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
378 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
379 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
380 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
381 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
382 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
383 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
384 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
385 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
386 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
387 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
388 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
389 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
390 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
391 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
392 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
393 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
394 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
395 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
396 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
397 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
398 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
399 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
400 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
401 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
402 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
403 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
404 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
405 With several -L patterns, changes touching any files in their respective line |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
406 range are show. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
407 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
408 $ hg log -f -L foo,5:7 -L bar,1:2 -p |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
409 changeset: 5:cfdf972b3971 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
410 tag: tip |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
411 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
412 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
413 summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
414 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
415 diff --git a/bar b/bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
416 --- a/bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
417 +++ b/bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
418 @@ -1,4 +1,4 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
419 -a |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
420 +a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
421 b |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
422 c |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
423 d |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
424 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
425 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
426 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
427 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
428 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
429 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
430 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
431 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
432 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
433 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
434 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
435 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
436 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
437 changeset: 4:eaec41c1a0c9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
438 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
439 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
440 summary: 11 -> 11+; leading space before "1" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
441 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
442 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
443 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
444 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
445 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
446 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
447 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
448 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
449 -1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
450 + 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
451 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
452 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
453 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
454 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
455 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
456 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
457 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
458 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
459 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
460 diff --git a/bar b/bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
461 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
462 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
463 +++ b/bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
464 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
465 +a |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
466 +b |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
467 +c |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
468 +d |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
469 +e |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
470 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
471 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
472 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
473 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
474 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
475 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
476 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
477 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
478 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
479 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
480 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
481 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
482 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
483 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
484 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
485 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
486 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
487 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
488 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
489 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
490 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
491 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
492 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
493 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
494 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
495 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
496 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
497 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
498 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
499 Multiple -L options with the same file yields changes touching any of |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
500 specified line ranges. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
501 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
502 $ hg log -f -L foo,5:7 -L foo,14:15 -p |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
503 changeset: 5:cfdf972b3971 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
504 tag: tip |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
505 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
506 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
507 summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
508 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
509 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
510 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
511 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
512 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
513 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
514 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
515 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
516 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
517 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
518 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
519 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
520 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
521 @@ -12,4 +12,4 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
522 8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
523 9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
524 10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
525 -11+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
526 +11- |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
527 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
528 changeset: 4:eaec41c1a0c9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
529 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
530 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
531 summary: 11 -> 11+; leading space before "1" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
532 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
533 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
534 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
535 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
536 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
537 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
538 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
539 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
540 -1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
541 + 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
542 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
543 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
544 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
545 @@ -12,4 +12,4 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
546 8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
547 9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
548 10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
549 -11 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
550 +11+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
551 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
552 changeset: 3:730a61fbaecf |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
553 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
554 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
555 summary: to 11 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
556 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
557 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
558 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
559 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
560 @@ -6,3 +6,10 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
561 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
562 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
563 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
564 +5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
565 +6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
566 +7 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
567 +8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
568 +9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
569 +10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
570 +11 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
571 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
572 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
573 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
574 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
575 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
576 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
577 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
578 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
579 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
580 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
581 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
582 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
583 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
584 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
585 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
586 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
587 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
588 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
589 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
590 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
591 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
592 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
593 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
594 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
595 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
596 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
597 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
598 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
599 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
600 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
601 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
602 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
603 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
604 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
605 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
606 A file with a comma in its name. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
607 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
608 $ cat > ba,z << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
609 > q |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
610 > w |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
611 > e |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
612 > r |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
613 > t |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
614 > y |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
615 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
616 $ hg ci -Am 'querty' |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
617 adding ba,z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
618 $ cat >> ba,z << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
619 > u |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
620 > i |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
621 > o |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
622 > p |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
623 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
624 $ hg ci -m 'more keys' |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
625 $ cat > ba,z << EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
626 > a |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
627 > z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
628 > e |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
629 > r |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
630 > t |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
631 > y |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
632 > u |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
633 > i |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
634 > o |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
635 > p |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
636 > EOF |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
637 $ hg ci -m 'azerty' |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
638 $ hg log -f -L ba,z,1:2 -p |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
639 changeset: 8:52373265138b |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
640 tag: tip |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
641 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
642 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
643 summary: azerty |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
645 diff --git a/ba,z b/ba,z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
646 --- a/ba,z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
647 +++ b/ba,z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
648 @@ -1,5 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
649 -q |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
650 -w |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
651 +a |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
652 +z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
653 e |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
654 r |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
655 t |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
656 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
657 changeset: 6:96ba8850f316 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
658 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
659 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
660 summary: querty |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
661 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
662 diff --git a/ba,z b/ba,z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
663 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
664 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
665 +++ b/ba,z |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
666 @@ -0,0 +1,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
667 +q |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
668 +w |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
669 +e |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
670 +r |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
671 +t |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
672 +y |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
673 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
674 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
675 Exact prefix kinds work in -L options. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
676 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
677 $ mkdir dir |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
678 $ cd dir |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
679 $ hg log -f -L path:foo,5:7 -p |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
680 changeset: 5:cfdf972b3971 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
681 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
682 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
683 summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
684 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
685 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
686 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
687 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
688 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
689 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
690 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
691 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
692 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
693 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
694 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
695 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
696 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
697 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
698 changeset: 4:eaec41c1a0c9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
699 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
700 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
701 summary: 11 -> 11+; leading space before "1" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
702 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
703 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
704 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
705 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
706 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
707 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
708 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
709 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
710 -1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
711 + 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
712 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
713 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
714 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
715 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
716 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
717 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
718 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
719 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
720 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
721 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
722 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
723 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
724 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
725 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
726 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
727 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
728 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
729 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
730 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
731 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
732 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
733 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
734 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
735 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
736 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
737 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
738 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
739 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
740 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
741 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
742 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
743 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
744 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
745 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
746 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
747 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
748 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
749 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
750 Renames are followed. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
751 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
752 $ hg mv ../foo baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
753 $ sed 's/1/1+/' baz > baz.new |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
754 $ mv baz.new baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
755 $ hg ci -m 'foo -> dir/baz; 1-1+' |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
756 $ hg diff -c . |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
757 diff --git a/foo b/dir/baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
758 rename from foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
759 rename to dir/baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
760 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
761 +++ b/dir/baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
762 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
763 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
764 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
765 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
766 - 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
767 + 1+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
768 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
769 3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
770 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
771 @@ -11,5 +11,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
772 7 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
773 8 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
774 9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
775 -10 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
776 -11- |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
777 +1+0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
778 +1+1- |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
779 $ hg log -f -L relpath:baz,5:7 -p |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
780 changeset: 9:6af29c3a778f |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
781 tag: tip |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
782 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
783 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
784 summary: foo -> dir/baz; 1-1+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
785 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
786 diff --git a/foo b/dir/baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
787 copy from foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
788 copy to dir/baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
789 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
790 +++ b/dir/baz |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
791 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
792 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
793 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
794 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
795 - 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
796 + 1+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
797 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
798 3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
799 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
800 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
801 changeset: 5:cfdf972b3971 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
802 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
803 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
804 summary: foo: 3 -> 3+ and 11+ -> 11-; bar: a -> a+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
805 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
806 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
807 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
808 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
809 @@ -4,7 +4,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
810 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
811 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
812 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
813 -3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
814 +3+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
815 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
816 5 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
817 6 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
818 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
819 changeset: 4:eaec41c1a0c9 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
820 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
821 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
822 summary: 11 -> 11+; leading space before "1" |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
823 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
824 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
825 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
826 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
827 @@ -2,7 +2,7 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
828 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
829 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
830 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
831 -1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
832 + 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
833 2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
834 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
835 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
836 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
837 changeset: 2:63a884426fd0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
838 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
839 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
840 summary: 2 -> 2+; added bar |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
841 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
842 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
843 --- a/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
844 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
845 @@ -3,6 +3,6 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
846 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
847 0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
848 1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
849 -2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
850 +2+ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
851 3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
852 4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
853 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
854 changeset: 0:5ae1f82b9a00 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
855 user: test |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
856 date: Thu Jan 01 00:00:00 1970 +0000 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
857 summary: init |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
858 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
859 diff --git a/foo b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
860 new file mode 100644 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
861 --- /dev/null |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
862 +++ b/foo |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
863 @@ -0,0 +1,5 @@ |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
864 +0 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
865 +1 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
866 +2 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
867 +3 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
868 +4 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
869 |
34904
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
870 |
43675
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
871 Copies. |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
872 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
873 $ hg copy baz bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
874 $ sed 's/6/6+/' bbaz > bbaz.new |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
875 $ mv bbaz.new bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
876 $ hg commit -m 'cp baz bbaz; 6-6+' |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
877 $ hg diff -c . |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
878 diff --git a/dir/baz b/dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
879 copy from dir/baz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
880 copy to dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
881 --- a/dir/baz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
882 +++ b/dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
883 @@ -7,7 +7,7 @@ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
884 3+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
885 4 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
886 5 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
887 -6 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
888 +6+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
889 7 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
890 8 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
891 9 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
892 $ hg log --copies -f -L bbaz,10:11 -p |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
893 changeset: 10:91a3d3b6c546 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
894 tag: tip |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
895 user: test |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
896 date: Thu Jan 01 00:00:00 1970 +0000 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
897 summary: cp baz bbaz; 6-6+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
898 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
899 diff --git a/dir/baz b/dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
900 copy from dir/baz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
901 copy to dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
902 --- a/dir/baz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
903 +++ b/dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
904 @@ -7,7 +7,7 @@ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
905 3+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
906 4 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
907 5 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
908 -6 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
909 +6+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
910 7 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
911 8 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
912 9 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
913 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
914 changeset: 3:730a61fbaecf |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
915 user: test |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
916 date: Thu Jan 01 00:00:00 1970 +0000 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
917 summary: to 11 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
918 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
919 diff --git a/foo b/foo |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
920 --- a/foo |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
921 +++ b/foo |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
922 @@ -6,3 +6,10 @@ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
923 2+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
924 3 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
925 4 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
926 +5 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
927 +6 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
928 +7 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
929 +8 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
930 +9 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
931 +10 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
932 +11 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
933 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
934 $ hg log -f -L bbaz,10:11 -p |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
935 changeset: 10:91a3d3b6c546 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
936 tag: tip |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
937 user: test |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
938 date: Thu Jan 01 00:00:00 1970 +0000 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
939 summary: cp baz bbaz; 6-6+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
940 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
941 diff --git a/dir/baz b/dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
942 copy from dir/baz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
943 copy to dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
944 --- a/dir/baz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
945 +++ b/dir/bbaz |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
946 @@ -7,7 +7,7 @@ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
947 3+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
948 4 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
949 5 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
950 -6 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
951 +6+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
952 7 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
953 8 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
954 9 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
955 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
956 changeset: 3:730a61fbaecf |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
957 user: test |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
958 date: Thu Jan 01 00:00:00 1970 +0000 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
959 summary: to 11 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
960 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
961 diff --git a/foo b/foo |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
962 --- a/foo |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
963 +++ b/foo |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
964 @@ -6,3 +6,10 @@ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
965 2+ |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
966 3 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
967 4 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
968 +5 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
969 +6 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
970 +7 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
971 +8 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
972 +9 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
973 +10 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
974 +11 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
975 |
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
976 |
34904
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
977 Binary files work but without diff hunks filtering. |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
978 (Checking w/ and w/o diff.git option.) |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
979 |
36997
0baf0e3ee569
py3: make tests/test-log-linerange.t work on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents:
36235
diff
changeset
|
980 >>> open('binary', 'wb').write(b'this\nis\na\nbinary\0') and None |
34904
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
981 $ hg add binary |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
982 $ hg ci -m 'add a binary file' --quiet |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
983 $ hg log -f -L binary,1:2 -p |
43675
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
984 changeset: 11:dc865b608edf |
34904
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
985 tag: tip |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
986 user: test |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
987 date: Thu Jan 01 00:00:00 1970 +0000 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
988 summary: add a binary file |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
989 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
990 diff --git a/dir/binary b/dir/binary |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
991 new file mode 100644 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
992 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c2e1fbed209fe919b3f189a6a31950e9adf61e45 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
993 GIT binary patch |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
994 literal 17 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
995 Wc$_QA$SmdpqC~Ew%)G>+N(KNlNClYy |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
996 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
997 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
998 $ hg log -f -L binary,1:2 -p --config diff.git=false |
43675
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
999 changeset: 11:dc865b608edf |
34904
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1000 tag: tip |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1001 user: test |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1002 date: Thu Jan 01 00:00:00 1970 +0000 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1003 summary: add a binary file |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1004 |
43675
d3c4368099ed
tests: test "hg log" with --line-range and --copies
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
37772
diff
changeset
|
1005 diff -r 91a3d3b6c546 -r dc865b608edf dir/binary |
34904
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1006 Binary file dir/binary has changed |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1007 |
4554649a6ea4
log: handle binary files in --line-range patterns
Denis Laxalde <denis@laxalde.org>
parents:
34857
diff
changeset
|
1008 |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1009 Option --follow is required. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1010 |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
1011 $ hg log -L foo,5:7 |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1012 abort: --line-range requires --follow |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1013 [255] |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1014 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1015 Non-exact pattern kinds are not allowed. |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1016 |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1017 $ cd .. |
34905
5c7dbb730179
log: switch to FROMLINE:TOLINE syntax for -L/--line-range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34904
diff
changeset
|
1018 $ hg log -f -L glob:*a*,1:2 |
34857
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1019 hg: parse error: line range pattern 'glob:*a*' must match exactly one file |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1020 [255] |
84c6b9384d6a
log: add -L/--line-range option to follow file history by line range
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff
changeset
|
1021 |
34907
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1022 We get an error for removed files. |
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1023 |
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1024 $ hg rm dir/baz |
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1025 $ hg ci -m 'remove baz' --quiet |
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1026 $ hg log -f -L dir/baz,5:7 -p |
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1027 abort: cannot follow file not in parent revision: "dir/baz" |
0ccfc468423a
log: handle removed files with --line-range patterns
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34906
diff
changeset
|
1028 [255] |