# HG changeset patch # User Anton Shestakov # Date 1672933920 -14400 # Node ID b3ae17037b54b488871efb618d9ebf4d45d1050b # Parent 9ea66d166ec71ddeaf1b9225700e3681808417e1 dirstate: swap pathto() and get_entry() in idirstate This way the order of methods in dirstate and idirstate classes is the same. Just to make it easier to use diff tools to compare the two classes. diff -r 9ea66d166ec7 -r b3ae17037b54 mercurial/interfaces/dirstate.py --- a/mercurial/interfaces/dirstate.py Thu Jan 05 19:50:33 2023 +0400 +++ b/mercurial/interfaces/dirstate.py Thu Jan 05 19:52:00 2023 +0400 @@ -67,12 +67,12 @@ used to get real file paths. Use vfs functions instead. """ + def pathto(f, cwd=None): + pass + def get_entry(path): """return a DirstateItem for the associated path""" - def pathto(f, cwd=None): - pass - def __contains__(key): """Check if bytestring `key` is known to the dirstate."""