Mercurial > hg
comparison mercurial/commands.py @ 48919:8b3f3f10e808
commands: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12324
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 11:08:04 -0700 |
parents | f254fc73d956 |
children | 5ad37b5bfb31 |
comparison
equal
deleted
inserted
replaced
48918:0fe003495f72 | 48919:8b3f3f10e808 |
---|---|
3908 | 3908 |
3909 if b'bookmarks' in peer.listkeys(b'namespaces'): | 3909 if b'bookmarks' in peer.listkeys(b'namespaces'): |
3910 hexremoterev = hex(remoterev) | 3910 hexremoterev = hex(remoterev) |
3911 bms = [ | 3911 bms = [ |
3912 bm | 3912 bm |
3913 for bm, bmr in pycompat.iteritems( | 3913 for bm, bmr in peer.listkeys(b'bookmarks').items() |
3914 peer.listkeys(b'bookmarks') | |
3915 ) | |
3916 if bmr == hexremoterev | 3914 if bmr == hexremoterev |
3917 ] | 3915 ] |
3918 | 3916 |
3919 return sorted(bms) | 3917 return sorted(bms) |
3920 | 3918 |