##// END OF EJS Templates
test-log: Add test for "hg log -pf" (issue647)...
Joel Rosdahl -
r11562:efbc09fd stable
parent child Browse files
Show More
@@ -31,6 +31,11 hg log -vf a
31 echo % many renames
31 echo % many renames
32 hg log -vf e
32 hg log -vf e
33
33
34 echo % log -pf dir/b
35 hg log -pf dir/b
36 echo % log -vf dir/b
37 hg log -vf dir/b
38
34 echo '% log copies with --copies'
39 echo '% log copies with --copies'
35 hg log -vC --template '{rev} {file_copies}\n'
40 hg log -vC --template '{rev} {file_copies}\n'
36 echo '% log copies switch without --copies, with old filecopy template'
41 echo '% log copies switch without --copies, with old filecopy template'
@@ -76,6 +76,65 description:
76 a
76 a
77
77
78
78
79 % log -pf dir/b
80 changeset: 2:41dd4284081e
81 user: test
82 date: Thu Jan 01 00:00:03 1970 +0000
83 summary: c
84
85 diff -r 784de7cef101 -r 41dd4284081e dir/b
86 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
87 +++ b/dir/b Thu Jan 01 00:00:03 1970 +0000
88 @@ -0,0 +1,1 @@
89 +a
90
91 changeset: 1:784de7cef101
92 user: test
93 date: Thu Jan 01 00:00:02 1970 +0000
94 summary: b
95
96 diff -r 8580ff50825a -r 784de7cef101 b
97 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
98 +++ b/b Thu Jan 01 00:00:02 1970 +0000
99 @@ -0,0 +1,1 @@
100 +a
101
102 changeset: 0:8580ff50825a
103 user: test
104 date: Thu Jan 01 00:00:01 1970 +0000
105 summary: a
106
107 diff -r 000000000000 -r 8580ff50825a a
108 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
109 +++ b/a Thu Jan 01 00:00:01 1970 +0000
110 @@ -0,0 +1,1 @@
111 +a
112
113 % log -vf dir/b
114 changeset: 2:41dd4284081e
115 user: test
116 date: Thu Jan 01 00:00:03 1970 +0000
117 files: b dir/b
118 description:
119 c
120
121
122 changeset: 1:784de7cef101
123 user: test
124 date: Thu Jan 01 00:00:02 1970 +0000
125 files: b
126 description:
127 b
128
129
130 changeset: 0:8580ff50825a
131 user: test
132 date: Thu Jan 01 00:00:01 1970 +0000
133 files: a
134 description:
135 a
136
137
79 % log copies with --copies
138 % log copies with --copies
80 4 e (dir/b)
139 4 e (dir/b)
81 3 b (a)
140 3 b (a)
General Comments 0
You need to be logged in to leave comments. Login now