Show More
@@ -49,7 +49,7 b' def _bundle(repo, bases, heads, node, su' | |||||
49 | bundletype = "HG10UN" |
|
49 | bundletype = "HG10UN" | |
50 |
|
50 | |||
51 | outgoing = discovery.outgoing(repo, missingroots=bases, missingheads=heads) |
|
51 | outgoing = discovery.outgoing(repo, missingroots=bases, missingheads=heads) | |
52 | contentopts = {'cg.version': cgversion} |
|
52 | contentopts = {'cg.version': cgversion, 'obsolescence': True} | |
53 | return bundle2.writenewbundle(repo.ui, repo, 'strip', name, bundletype, |
|
53 | return bundle2.writenewbundle(repo.ui, repo, 'strip', name, bundletype, | |
54 | outgoing, contentopts, vfs, compression=comp) |
|
54 | outgoing, contentopts, vfs, compression=comp) | |
55 |
|
55 |
@@ -1184,6 +1184,17 b' Test ability to pull changeset with loca' | |||||
1184 | $ hg log -G --hidden |
|
1184 | $ hg log -G --hidden | |
1185 | @ 0:a78f55e5508c (draft) [tip ] 0 |
|
1185 | @ 0:a78f55e5508c (draft) [tip ] 0 | |
1186 |
|
1186 | |||
|
1187 | $ hg debugbundle .hg/strip-backup/e016b03fd86f-c41c6bcc-backup.hg | |||
|
1188 | Stream params: sortdict([('Compression', 'BZ')]) | |||
|
1189 | changegroup -- "sortdict([('version', '02'), ('nbchanges', '4')])" | |||
|
1190 | e016b03fd86fcccc54817d120b90b751aaf367d6 | |||
|
1191 | e008cf2834908e5d6b0f792a9d4b0e2272260fb8 | |||
|
1192 | f27abbcc1f77fb409cf9160482fe619541e2d605 | |||
|
1193 | b0551702f918510f01ae838ab03a463054c67b46 | |||
|
1194 | obsmarkers -- 'sortdict()' | |||
|
1195 | version: 1 (139 bytes) | |||
|
1196 | e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |||
|
1197 | f27abbcc1f77fb409cf9160482fe619541e2d605 0 {e008cf2834908e5d6b0f792a9d4b0e2272260fb8} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |||
1187 |
|
1198 | |||
1188 | $ hg pull .hg/strip-backup/* |
|
1199 | $ hg pull .hg/strip-backup/* | |
1189 | pulling from .hg/strip-backup/e016b03fd86f-c41c6bcc-backup.hg |
|
1200 | pulling from .hg/strip-backup/e016b03fd86f-c41c6bcc-backup.hg |
General Comments 0
You need to be logged in to leave comments.
Login now