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.
--- 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: