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