comparison tests/test-encoding.t @ 14162:301725c3df9a

localrepo: reuse parent manifest in commitctx if no files have changed This speeds up the in-memory version of debugbuilddag that I'm working on considerably for the case where we want to build just a 00changelog.i (for discovery tests, for instance). There are a couple of test changes because node ids in tests have changed. The changes to the patch names in test-mq-qdelete.t were required because they could collide with nodeid abbreviations and newly actually do (patch "c" collides with id "cafe..." for patch "b").
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Mon, 02 May 2011 19:20:29 +0200
parents cd3032437064
children 41885892796e
comparison
equal deleted inserted replaced
14161:8a0fca925992 14162:301725c3df9a
46 $ rm .hg/branch 46 $ rm .hg/branch
47 47
48 hg log (ascii) 48 hg log (ascii)
49 49
50 $ hg --encoding ascii log 50 $ hg --encoding ascii log
51 changeset: 5:093c6077d1c8 51 changeset: 5:a52c0692f24a
52 branch: ? 52 branch: ?
53 tag: tip 53 tag: tip
54 user: test 54 user: test
55 date: Thu Jan 01 00:00:00 1970 +0000 55 date: Thu Jan 01 00:00:00 1970 +0000
56 summary: latin1 branch 56 summary: latin1 branch
83 83
84 84
85 hg log (latin-1) 85 hg log (latin-1)
86 86
87 $ hg --encoding latin-1 log 87 $ hg --encoding latin-1 log
88 changeset: 5:093c6077d1c8 88 changeset: 5:a52c0692f24a
89 branch: \xe9 (esc) 89 branch: \xe9 (esc)
90 tag: tip 90 tag: tip
91 user: test 91 user: test
92 date: Thu Jan 01 00:00:00 1970 +0000 92 date: Thu Jan 01 00:00:00 1970 +0000
93 summary: latin1 branch 93 summary: latin1 branch
120 120
121 121
122 hg log (utf-8) 122 hg log (utf-8)
123 123
124 $ hg --encoding utf-8 log 124 $ hg --encoding utf-8 log
125 changeset: 5:093c6077d1c8 125 changeset: 5:a52c0692f24a
126 branch: \xc3\xa9 (esc) 126 branch: \xc3\xa9 (esc)
127 tag: tip 127 tag: tip
128 user: test 128 user: test
129 date: Thu Jan 01 00:00:00 1970 +0000 129 date: Thu Jan 01 00:00:00 1970 +0000
130 summary: latin1 branch 130 summary: latin1 branch
157 157
158 158
159 hg tags (ascii) 159 hg tags (ascii)
160 160
161 $ HGENCODING=ascii hg tags 161 $ HGENCODING=ascii hg tags
162 tip 5:093c6077d1c8 162 tip 5:a52c0692f24a
163 ? 3:ca661e7520de 163 ? 3:ca661e7520de
164 164
165 hg tags (latin-1) 165 hg tags (latin-1)
166 166
167 $ HGENCODING=latin-1 hg tags 167 $ HGENCODING=latin-1 hg tags
168 tip 5:093c6077d1c8 168 tip 5:a52c0692f24a
169 \xe9 3:ca661e7520de (esc) 169 \xe9 3:ca661e7520de (esc)
170 170
171 hg tags (utf-8) 171 hg tags (utf-8)
172 172
173 $ HGENCODING=utf-8 hg tags 173 $ HGENCODING=utf-8 hg tags
174 tip 5:093c6077d1c8 174 tip 5:a52c0692f24a
175 \xc3\xa9 3:ca661e7520de (esc) 175 \xc3\xa9 3:ca661e7520de (esc)
176 176
177 hg branches (ascii) 177 hg branches (ascii)
178 178
179 $ HGENCODING=ascii hg branches 179 $ HGENCODING=ascii hg branches
180 ? 5:093c6077d1c8 180 ? 5:a52c0692f24a
181 default 4:94db611b4196 (inactive) 181 default 4:94db611b4196 (inactive)
182 182
183 hg branches (latin-1) 183 hg branches (latin-1)
184 184
185 $ HGENCODING=latin-1 hg branches 185 $ HGENCODING=latin-1 hg branches
186 \xe9 5:093c6077d1c8 (esc) 186 \xe9 5:a52c0692f24a (esc)
187 default 4:94db611b4196 (inactive) 187 default 4:94db611b4196 (inactive)
188 188
189 hg branches (utf-8) 189 hg branches (utf-8)
190 190
191 $ HGENCODING=utf-8 hg branches 191 $ HGENCODING=utf-8 hg branches
192 \xc3\xa9 5:093c6077d1c8 (esc) 192 \xc3\xa9 5:a52c0692f24a (esc)
193 default 4:94db611b4196 (inactive) 193 default 4:94db611b4196 (inactive)
194 $ echo '[ui]' >> .hg/hgrc 194 $ echo '[ui]' >> .hg/hgrc
195 $ echo 'fallbackencoding = koi8-r' >> .hg/hgrc 195 $ echo 'fallbackencoding = koi8-r' >> .hg/hgrc
196 196
197 hg log (utf-8) 197 hg log (utf-8)
198 198
199 $ HGENCODING=utf-8 hg log 199 $ HGENCODING=utf-8 hg log
200 changeset: 5:093c6077d1c8 200 changeset: 5:a52c0692f24a
201 branch: \xc3\xa9 (esc) 201 branch: \xc3\xa9 (esc)
202 tag: tip 202 tag: tip
203 user: test 203 user: test
204 date: Thu Jan 01 00:00:00 1970 +0000 204 date: Thu Jan 01 00:00:00 1970 +0000
205 summary: latin1 branch 205 summary: latin1 branch