##// END OF EJS Templates
test: added testcase for cvsps log message lookahead
Frank Kingswood -
r7594:a2045477 default
parent child Browse files
Show More
@@ -100,6 +100,19 hg convert --filemap filemap src src-fil
100 hgcat b/c
100 hgcat b/c
101 hg -R src-filemap log --template '#rev# #desc# files: #files#\n'
101 hg -R src-filemap log --template '#rev# #desc# files: #files#\n'
102
102
103 echo % commit a new revision with funny log message
104 cd src
105 sleep 1
106 echo e >> a
107 cvscall -q commit -m'funny
108 ----------------------------
109 log message' . | grep '<--' |\
110 sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g'
111 cd ..
112
113 echo % convert again
114 hg convert src src-hg | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g'
115
103 echo "graphlog = " >> $HGRCPATH
116 echo "graphlog = " >> $HGRCPATH
104 hg -R src-hg glog --template '#rev# (#branches#) #desc# files: #files#\n'
117 hg -R src-hg glog --template '#rev# (#branches#) #desc# files: #files#\n'
105
118
@@ -124,6 +124,22 3 ci1 files: b/c
124 2 update tags files: .hgtags
124 2 update tags files: .hgtags
125 1 ci0 files: b/c
125 1 ci0 files: b/c
126 0 Initial revision files: b/c
126 0 Initial revision files: b/c
127 % commit a new revision with funny log message
128 checking in src/a,v
129 % convert again
130 using builtin cvsps
131 collecting CVS rlog
132 9 log entries
133 creating changesets
134 6 changeset entries
135 connecting to cvsrepo
136 scanning source...
137 sorting...
138 converting...
139 0 funny
140 o 6 (branch) funny
141 | ----------------------------
142 | log message files: a
127 o 5 (branch) ci2 files: b/c
143 o 5 (branch) ci2 files: b/c
128 |
144 |
129 | o 4 () ci1 files: a b/c
145 | o 4 () ci1 files: a b/c
@@ -138,9 +154,9 o 0 () Initial revision files: a b/c
138
154
139 % testing debugcvsps
155 % testing debugcvsps
140 collecting CVS rlog
156 collecting CVS rlog
141 8 log entries
157 9 log entries
142 creating changesets
158 creating changesets
143 5 changeset entries
159 6 changeset entries
144 ---------------------
160 ---------------------
145 PatchSet 1
161 PatchSet 1
146 Date:
162 Date:
@@ -204,3 +220,17 ci2
204 Members:
220 Members:
205 b/c:1.1->1.1.2.1
221 b/c:1.1->1.1.2.1
206
222
223 ---------------------
224 PatchSet 6
225 Date:
226 Author:
227 Branch: branch
228 Tag: (none)
229 Log:
230 funny
231 ----------------------------
232 log message
233
234 Members:
235 a:1.2->1.2.2.1
236
General Comments 0
You need to be logged in to leave comments. Login now