Mercurial > public > mercurial-scm > hg
comparison hgext/phabricator.py @ 52887:b8da7eed1657
pycompat: backed out changeset e02c36478284
We also need to back this out as `util.sortdict` no longer support the `[K,V]`
notation.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 15 Feb 2025 15:20:33 +0100 |
parents | e02c36478284 |
children |
comparison
equal
deleted
inserted
replaced
52886:abcfb4ce132e | 52887:b8da7eed1657 |
---|---|
1689 unfi.setparents(mapping[wnode][0]) | 1689 unfi.setparents(mapping[wnode][0]) |
1690 | 1690 |
1691 | 1691 |
1692 # Map from "hg:meta" keys to header understood by "hg import". The order is | 1692 # Map from "hg:meta" keys to header understood by "hg import". The order is |
1693 # consistent with "hg export" output. | 1693 # consistent with "hg export" output. |
1694 _metanamemap: util.sortdict[bytes, bytes] = util.sortdict( | 1694 _metanamemap = util.sortdict( |
1695 [ | 1695 [ |
1696 (b'user', b'User'), | 1696 (b'user', b'User'), |
1697 (b'date', b'Date'), | 1697 (b'date', b'Date'), |
1698 (b'branch', b'Branch'), | 1698 (b'branch', b'Branch'), |
1699 (b'node', b'Node ID'), | 1699 (b'node', b'Node ID'), |