comparison tests/test-commit-amend.t @ 23748:4ab66de46a96

bundle: when verbose, show what takes up the space in the generated bundle This is kind of similar to the debugbundle command but gives summarized actual uncompressed number of bytes when creating the bundle. The numbers are as usable as the bundle format is efficient. Hopefully bundle2 will make it a better indicator of actual entropy. This is useful when accepting pull requests to assess whether the repo size increase seems reasonable for the diff before pushing stuff upstream, It has helped me catching large files that should have been committed as largefiles but was committed as regular files in intermediate changesets. This output doesn't combine well with debug output so we only enable it when verbose without debug.
author Mads Kiilerich <madski@unity3d.com>
date Fri, 15 Aug 2014 19:43:32 +0200
parents 200215cdf7aa
children a387b0390082
comparison
equal deleted inserted replaced
23747:f82173a90c2c 23748:4ab66de46a96
107 amending changeset 74609c7f506e 107 amending changeset 74609c7f506e
108 copying changeset 74609c7f506e to ad120869acf0 108 copying changeset 74609c7f506e to ad120869acf0
109 a 109 a
110 stripping amended changeset 74609c7f506e 110 stripping amended changeset 74609c7f506e
111 1 changesets found 111 1 changesets found
112 uncompressed size of bundle content:
113 250 (changelog)
114 143 (manifests)
115 109 a
112 saved backup bundle to $TESTTMP/.hg/strip-backup/74609c7f506e-amend-backup.hg (glob) 116 saved backup bundle to $TESTTMP/.hg/strip-backup/74609c7f506e-amend-backup.hg (glob)
113 1 changesets found 117 1 changesets found
118 uncompressed size of bundle content:
119 246 (changelog)
120 143 (manifests)
121 109 a
114 adding branch 122 adding branch
115 adding changesets 123 adding changesets
116 adding manifests 124 adding manifests
117 adding file changes 125 adding file changes
118 added 1 changesets with 1 changes to 1 files 126 added 1 changesets with 1 changes to 1 files
234 HG: branch 'default' 242 HG: branch 'default'
235 HG: changed a 243 HG: changed a
236 a 244 a
237 stripping amended changeset 5f357c7560ab 245 stripping amended changeset 5f357c7560ab
238 1 changesets found 246 1 changesets found
247 uncompressed size of bundle content:
248 238 (changelog)
249 143 (manifests)
250 111 a
239 saved backup bundle to $TESTTMP/.hg/strip-backup/5f357c7560ab-amend-backup.hg (glob) 251 saved backup bundle to $TESTTMP/.hg/strip-backup/5f357c7560ab-amend-backup.hg (glob)
240 1 changesets found 252 1 changesets found
253 uncompressed size of bundle content:
254 246 (changelog)
255 143 (manifests)
256 111 a
241 adding branch 257 adding branch
242 adding changesets 258 adding changesets
243 adding manifests 259 adding manifests
244 adding file changes 260 adding file changes
245 added 1 changesets with 1 changes to 1 files 261 added 1 changesets with 1 changes to 1 files
263 HG: changed a 279 HG: changed a
264 a 280 a
265 stripping intermediate changeset a0ea9b1a4c8c 281 stripping intermediate changeset a0ea9b1a4c8c
266 stripping amended changeset 7ab3bf440b54 282 stripping amended changeset 7ab3bf440b54
267 2 changesets found 283 2 changesets found
284 uncompressed size of bundle content:
285 450 (changelog)
286 282 (manifests)
287 209 a
268 saved backup bundle to $TESTTMP/.hg/strip-backup/7ab3bf440b54-amend-backup.hg (glob) 288 saved backup bundle to $TESTTMP/.hg/strip-backup/7ab3bf440b54-amend-backup.hg (glob)
269 1 changesets found 289 1 changesets found
290 uncompressed size of bundle content:
291 246 (changelog)
292 143 (manifests)
293 113 a
270 adding branch 294 adding branch
271 adding changesets 295 adding changesets
272 adding manifests 296 adding manifests
273 adding file changes 297 adding file changes
274 added 1 changesets with 1 changes to 1 files 298 added 1 changesets with 1 changes to 1 files