# HG changeset patch # User Pierre-Yves David # Date 1573673602 -3600 # Node ID 79750d7819283e47aea5c8615e755ac780951bb0 # Parent b65bd4b61d78236b68c0bcc3d2f773001e10fcd8 copies: return consistent type from revinfo The return is expected to be a list, so we should return a list. This make the use of this function from type-checked language (eg: rust) much simpler. diff -r b65bd4b61d78 -r 79750d781928 mercurial/copies.py --- a/mercurial/copies.py Mon Nov 25 12:44:04 2019 -0800 +++ b/mercurial/copies.py Wed Nov 13 20:33:22 2019 +0100 @@ -231,7 +231,7 @@ else: p1copies = {} p2copies = {} - removed = () + removed = [] return p1, p2, p1copies, p2copies, removed else: