Show More
@@ -406,6 +406,7 b' test-pending.t' | |||
|
406 | 406 | test-permissions.t |
|
407 | 407 | test-phases-exchange.t |
|
408 | 408 | test-phases.t |
|
409 | test-progress.t | |
|
409 | 410 | test-pull-branch.t |
|
410 | 411 | test-pull-http.t |
|
411 | 412 | test-pull-permission.t |
@@ -33,26 +33,26 b'' | |||
|
33 | 33 | > nested = True |
|
34 | 34 | > loops = abs(loops) |
|
35 | 35 | > |
|
36 | > progress = ui.makeprogress(topiclabel, unit='loopnum', total=total) | |
|
37 | > other = ui.makeprogress('other', unit='othernum', total=total) | |
|
36 | > progress = ui.makeprogress(topiclabel, unit=b'loopnum', total=total) | |
|
37 | > other = ui.makeprogress(b'other', unit=b'othernum', total=total) | |
|
38 | 38 | > for i in range(loops): |
|
39 | 39 | > progress.update(i, item=getloopitem(i)) |
|
40 | 40 | > if opts.get('parallel'): |
|
41 |
> other.update(i, item='other.%d' % i |
|
|
41 | > other.update(i, item=b'other.%d' % i) | |
|
42 | 42 | > if nested: |
|
43 | 43 | > nested_steps = 2 |
|
44 | 44 | > if i and i % 4 == 0: |
|
45 | 45 | > nested_steps = 5 |
|
46 |
> nested = ui.makeprogress('nested', unit='nestnum' |
|
|
46 | > nested = ui.makeprogress(b'nested', unit=b'nestnum', | |
|
47 | 47 |
> total=nested_steps |
|
48 | 48 | > for j in range(nested_steps): |
|
49 |
> nested.update(j, item='nested.%d' % j |
|
|
49 | > nested.update(j, item=b'nested.%d' % j) | |
|
50 | 50 | > nested.complete() |
|
51 | 51 | > progress.complete() |
|
52 | 52 | > |
|
53 | > topiclabel = 'loop' | |
|
53 | > topiclabel = b'loop' | |
|
54 | 54 | > def getloopitem(i): |
|
55 | > return 'loop.%d' % i | |
|
55 | > return b'loop.%d' % i | |
|
56 | 56 | > |
|
57 | 57 | > EOF |
|
58 | 58 |
General Comments 0
You need to be logged in to leave comments.
Login now