comparison tests/test-obsolete.t @ 34025:626a28f30dbd

debugcommands: stabilize output of debugbundle by having a custom repr We handle all dict-like things the same, and don't worry about it actually being a repr.
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 23:11:35 -0400
parents aaa65baf460c
children e8a7c1a0565a
comparison
equal deleted inserted replaced
34024:19b8eee8b4ec 34025:626a28f30dbd
1342 o 1:e016b03fd86f (draft) [ ] 1 1342 o 1:e016b03fd86f (draft) [ ] 1
1343 | 1343 |
1344 o 0:a78f55e5508c (draft) [ ] 0 1344 o 0:a78f55e5508c (draft) [ ] 0
1345 1345
1346 $ hg debugbundle .hg/strip-backup/e008cf283490-*-backup.hg 1346 $ hg debugbundle .hg/strip-backup/e008cf283490-*-backup.hg
1347 Stream params: sortdict([('Compression', 'BZ')]) 1347 Stream params: {Compression: BZ}
1348 changegroup -- "sortdict([('version', '02'), ('nbchanges', '2')])" 1348 changegroup -- {nbchanges: 2, version: 02}
1349 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 1349 e008cf2834908e5d6b0f792a9d4b0e2272260fb8
1350 f27abbcc1f77fb409cf9160482fe619541e2d605 1350 f27abbcc1f77fb409cf9160482fe619541e2d605
1351 obsmarkers -- 'sortdict()' 1351 obsmarkers -- {}
1352 version: 1 (70 bytes) 1352 version: 1 (70 bytes)
1353 f27abbcc1f77fb409cf9160482fe619541e2d605 0 {e008cf2834908e5d6b0f792a9d4b0e2272260fb8} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 1353 f27abbcc1f77fb409cf9160482fe619541e2d605 0 {e008cf2834908e5d6b0f792a9d4b0e2272260fb8} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
1354 phase-heads -- 'sortdict()' 1354 phase-heads -- {}
1355 f27abbcc1f77fb409cf9160482fe619541e2d605 draft 1355 f27abbcc1f77fb409cf9160482fe619541e2d605 draft
1356 1356
1357 $ hg pull .hg/strip-backup/e008cf283490-*-backup.hg 1357 $ hg pull .hg/strip-backup/e008cf283490-*-backup.hg
1358 pulling from .hg/strip-backup/e008cf283490-39c978dc-backup.hg 1358 pulling from .hg/strip-backup/e008cf283490-39c978dc-backup.hg
1359 searching for changes 1359 searching for changes
1387 1387
1388 $ hg log -G --hidden 1388 $ hg log -G --hidden
1389 @ 0:a78f55e5508c (draft) [tip ] 0 1389 @ 0:a78f55e5508c (draft) [tip ] 0
1390 1390
1391 $ hg debugbundle .hg/strip-backup/e016b03fd86f-*-backup.hg 1391 $ hg debugbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1392 Stream params: sortdict([('Compression', 'BZ')]) 1392 Stream params: {Compression: BZ}
1393 changegroup -- "sortdict([('version', '02'), ('nbchanges', '2')])" 1393 changegroup -- {nbchanges: 2, version: 02}
1394 e016b03fd86fcccc54817d120b90b751aaf367d6 1394 e016b03fd86fcccc54817d120b90b751aaf367d6
1395 b0551702f918510f01ae838ab03a463054c67b46 1395 b0551702f918510f01ae838ab03a463054c67b46
1396 obsmarkers -- 'sortdict()' 1396 obsmarkers -- {}
1397 version: 1 (139 bytes) 1397 version: 1 (139 bytes)
1398 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 1398 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
1399 f27abbcc1f77fb409cf9160482fe619541e2d605 0 {e008cf2834908e5d6b0f792a9d4b0e2272260fb8} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 1399 f27abbcc1f77fb409cf9160482fe619541e2d605 0 {e008cf2834908e5d6b0f792a9d4b0e2272260fb8} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
1400 phase-heads -- 'sortdict()' 1400 phase-heads -- {}
1401 b0551702f918510f01ae838ab03a463054c67b46 draft 1401 b0551702f918510f01ae838ab03a463054c67b46 draft
1402 1402
1403 $ hg unbundle .hg/strip-backup/e016b03fd86f-*-backup.hg 1403 $ hg unbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1404 adding changesets 1404 adding changesets
1405 adding manifests 1405 adding manifests