Mercurial > hg
comparison tests/test-lfs-serve.t @ 41357:dafd13c7237b
py3: use dict.items() instead of dict.iteritems() in tests/test-lfs-server.t
dict.iteritems() is not present on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D5673
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Fri, 18 Jan 2019 19:28:31 +0530 |
parents | 23c80ce166f1 |
children | 2a1bb442593b |
comparison
equal
deleted
inserted
replaced
41356:23c80ce166f1 | 41357:dafd13c7237b |
---|---|
49 > opts = pycompat.byteskwargs(opts) | 49 > opts = pycompat.byteskwargs(opts) |
50 > opts[b'changelog'] = False | 50 > opts[b'changelog'] = False |
51 > opts[b'manifest'] = False | 51 > opts[b'manifest'] = False |
52 > opts[b'dir'] = False | 52 > opts[b'dir'] = False |
53 > rl = cmdutil.openrevlog(repo, b'debugprocessors', file_, opts) | 53 > rl = cmdutil.openrevlog(repo, b'debugprocessors', file_, opts) |
54 > for flag, proc in rl._flagprocessors.iteritems(): | 54 > for flag, proc in rl._flagprocessors.items(): |
55 > ui.status(b"registered processor '%#x'\n" % (flag)) | 55 > ui.status(b"registered processor '%#x'\n" % (flag)) |
56 > EOF | 56 > EOF |
57 | 57 |
58 Skip the experimental.changegroup3=True config. Failure to agree on this comes | 58 Skip the experimental.changegroup3=True config. Failure to agree on this comes |
59 first, and causes a "ValueError: no common changegroup version" or "abort: | 59 first, and causes a "ValueError: no common changegroup version" or "abort: |