Show More
@@ -281,10 +281,10 b' def handlechangegroup_widen(op, inpart):' | |||||
281 | try: |
|
281 | try: | |
282 | gen = exchange.readbundle(ui, f, chgrpfile, vfs) |
|
282 | gen = exchange.readbundle(ui, f, chgrpfile, vfs) | |
283 | # silence internal shuffling chatter |
|
283 | # silence internal shuffling chatter | |
284 | override = {(b'ui', b'quiet'): True} |
|
284 | maybe_silent = ( | |
285 | if ui.verbose: |
|
285 | ui.silent() if not ui.verbose else util.nullcontextmanager() | |
286 | override = {} |
|
286 | ) | |
287 | with ui.configoverride(override): |
|
287 | with maybe_silent: | |
288 | if isinstance(gen, bundle2.unbundle20): |
|
288 | if isinstance(gen, bundle2.unbundle20): | |
289 | with repo.transaction(b'strip') as tr: |
|
289 | with repo.transaction(b'strip') as tr: | |
290 | bundle2.processbundle(repo, gen, lambda: tr) |
|
290 | bundle2.processbundle(repo, gen, lambda: tr) |
@@ -139,7 +139,7 b' widen the narrow checkout' | |||||
139 | adding changesets |
|
139 | adding changesets | |
140 | adding manifests |
|
140 | adding manifests | |
141 | adding file changes |
|
141 | adding file changes | |
142 |
added 9 changesets with 6 changes to |
|
142 | added 9 changesets with 6 changes to 10 files | |
143 | $ hg tracked |
|
143 | $ hg tracked | |
144 | I path:dir1 |
|
144 | I path:dir1 | |
145 | I path:dir2 |
|
145 | I path:dir2 | |
@@ -198,7 +198,7 b' widen narrow spec again, but exclude a f' | |||||
198 | adding changesets |
|
198 | adding changesets | |
199 | adding manifests |
|
199 | adding manifests | |
200 | adding file changes |
|
200 | adding file changes | |
201 |
added 11 changesets with 7 changes to |
|
201 | added 11 changesets with 7 changes to 12 files | |
202 | $ hg tracked |
|
202 | $ hg tracked | |
203 | I path:dir1 |
|
203 | I path:dir1 | |
204 | I path:dir2 |
|
204 | I path:dir2 | |
@@ -255,7 +255,7 b' widen narrow spec yet again, excluding a' | |||||
255 | adding changesets |
|
255 | adding changesets | |
256 | adding manifests |
|
256 | adding manifests | |
257 | adding file changes |
|
257 | adding file changes | |
258 |
added 13 changesets with 8 changes to |
|
258 | added 13 changesets with 8 changes to 14 files | |
259 | $ hg tracked |
|
259 | $ hg tracked | |
260 | I path:dir1 |
|
260 | I path:dir1 | |
261 | I path:dir2 |
|
261 | I path:dir2 | |
@@ -312,7 +312,7 b' include a directory that was previously ' | |||||
312 | adding changesets |
|
312 | adding changesets | |
313 | adding manifests |
|
313 | adding manifests | |
314 | adding file changes |
|
314 | adding file changes | |
315 |
added 13 changesets with 9 changes to |
|
315 | added 13 changesets with 9 changes to 17 files | |
316 | $ hg tracked |
|
316 | $ hg tracked | |
317 | I path:dir1 |
|
317 | I path:dir1 | |
318 | I path:dir2 |
|
318 | I path:dir2 | |
@@ -387,7 +387,7 b' clone a narrow portion of the master, su' | |||||
387 | adding changesets |
|
387 | adding changesets | |
388 | adding manifests |
|
388 | adding manifests | |
389 | adding file changes |
|
389 | adding file changes | |
390 |
added 10 changesets with 6 changes to |
|
390 | added 10 changesets with 6 changes to 8 files | |
391 | $ find * | sort |
|
391 | $ find * | sort | |
392 | dir1 |
|
392 | dir1 | |
393 | dir1/bar |
|
393 | dir1/bar |
@@ -118,7 +118,7 b' added upstream revisions.' | |||||
118 | adding changesets |
|
118 | adding changesets | |
119 | adding manifests |
|
119 | adding manifests | |
120 | adding file changes |
|
120 | adding file changes | |
121 |
added 3 changesets with 2 changes to |
|
121 | added 3 changesets with 2 changes to 3 files | |
122 | $ hg l |
|
122 | $ hg l | |
123 | @ ...2: add outside |
|
123 | @ ...2: add outside | |
124 | | |
|
124 | | | |
@@ -190,7 +190,7 b' widen the narrow spec to include the wid' | |||||
190 | adding changesets |
|
190 | adding changesets | |
191 | adding manifests |
|
191 | adding manifests | |
192 | adding file changes |
|
192 | adding file changes | |
193 |
added 8 changesets with 7 changes to |
|
193 | added 8 changesets with 7 changes to 5 files | |
194 | $ hg tracked |
|
194 | $ hg tracked | |
195 | I path:inside |
|
195 | I path:inside | |
196 | I path:wider |
|
196 | I path:wider | |
@@ -311,7 +311,7 b' make narrow clone with every third node.' | |||||
311 | adding changesets |
|
311 | adding changesets | |
312 | adding manifests |
|
312 | adding manifests | |
313 | adding file changes |
|
313 | adding file changes | |
314 |
added 9 changesets with 5 changes to |
|
314 | added 9 changesets with 5 changes to 9 files | |
315 | $ hg tracked |
|
315 | $ hg tracked | |
316 | I path:d0 |
|
316 | I path:d0 | |
317 | I path:d1 |
|
317 | I path:d1 |
@@ -305,7 +305,7 b' Can widen the empty clone' | |||||
305 | adding changesets |
|
305 | adding changesets | |
306 | adding manifests |
|
306 | adding manifests | |
307 | adding file changes |
|
307 | adding file changes | |
308 |
added |
|
308 | added 4 changesets with 1 changes to 1 files (+1 heads) | |
309 | $ hg tracked |
|
309 | $ hg tracked | |
310 | I path:d0 |
|
310 | I path:d0 | |
311 | $ hg files |
|
311 | $ hg files |
General Comments 0
You need to be logged in to leave comments.
Login now