##// END OF EJS Templates
test: use general delta for 'test-commit-amend.t'...
Pierre-Yves David -
r26927:0829ed3b default
parent child Browse files
Show More
@@ -1,3 +1,8 b''
1 $ cat << EOF >> $HGRCPATH
2 > [format]
3 > usegeneraldelta=yes
4 > EOF
5
1 6 $ hg init
2 7
3 8 Setup:
@@ -115,15 +120,15 b' No changes, just a different message:'
115 120 stripping amended changeset 74609c7f506e
116 121 1 changesets found
117 122 uncompressed size of bundle content:
118 250 (changelog)
119 143 (manifests)
120 109 a
123 270 (changelog)
124 163 (manifests)
125 129 a
121 126 saved backup bundle to $TESTTMP/.hg/strip-backup/74609c7f506e-1bfde511-amend-backup.hg (glob)
122 127 1 changesets found
123 128 uncompressed size of bundle content:
124 246 (changelog)
125 143 (manifests)
126 109 a
129 266 (changelog)
130 163 (manifests)
131 129 a
127 132 adding branch
128 133 adding changesets
129 134 adding manifests
@@ -259,15 +264,15 b' then, test editing custom commit message'
259 264 stripping amended changeset 5f357c7560ab
260 265 1 changesets found
261 266 uncompressed size of bundle content:
262 238 (changelog)
263 143 (manifests)
264 111 a
267 258 (changelog)
268 163 (manifests)
269 131 a
265 270 saved backup bundle to $TESTTMP/.hg/strip-backup/5f357c7560ab-e7c84ade-amend-backup.hg (glob)
266 271 1 changesets found
267 272 uncompressed size of bundle content:
268 246 (changelog)
269 143 (manifests)
270 111 a
273 266 (changelog)
274 163 (manifests)
275 131 a
271 276 adding branch
272 277 adding changesets
273 278 adding manifests
@@ -302,15 +307,15 b' Same, but with changes in working dir (d'
302 307 stripping amended changeset 7ab3bf440b54
303 308 2 changesets found
304 309 uncompressed size of bundle content:
305 450 (changelog)
306 282 (manifests)
307 209 a
310 490 (changelog)
311 322 (manifests)
312 249 a
308 313 saved backup bundle to $TESTTMP/.hg/strip-backup/7ab3bf440b54-8e3b5088-amend-backup.hg (glob)
309 314 1 changesets found
310 315 uncompressed size of bundle content:
311 246 (changelog)
312 143 (manifests)
313 113 a
316 266 (changelog)
317 163 (manifests)
318 133 a
314 319 adding branch
315 320 adding changesets
316 321 adding manifests
@@ -1138,14 +1143,14 b' directory)'
1138 1143 R olddirname/commonfile.py
1139 1144 R olddirname/newfile.py
1140 1145 $ hg debugindex newdirname/newfile.py
1141 rev offset length base linkrev nodeid p1 p2
1142 0 0 88 0 3 34a4d536c0c0 000000000000 000000000000
1146 rev offset length delta linkrev nodeid p1 p2
1147 0 0 88 -1 3 34a4d536c0c0 000000000000 000000000000
1143 1148
1144 1149 $ echo a >> newdirname/commonfile.py
1145 1150 $ hg ci --amend -m bug
1146 1151 $ hg debugrename newdirname/newfile.py
1147 1152 newdirname/newfile.py renamed from olddirname/newfile.py:690b295714aed510803d3020da9c70fca8336def (glob)
1148 1153 $ hg debugindex newdirname/newfile.py
1149 rev offset length base linkrev nodeid p1 p2
1150 0 0 88 0 3 34a4d536c0c0 000000000000 000000000000
1154 rev offset length delta linkrev nodeid p1 p2
1155 0 0 88 -1 3 34a4d536c0c0 000000000000 000000000000
1151 1156
General Comments 0
You need to be logged in to leave comments. Login now