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