perf: fix `perfhelper-pathcopies` report of #changesets
The previous computation `<base>::<target>` was wrong, what we actually need is
`::<target> - ::<base>`.
This is now fixed
--- a/contrib/perf.py Thu Oct 10 12:22:15 2019 +0200
+++ b/contrib/perf.py Wed Oct 02 18:39:20 2019 -0400
@@ -2122,7 +2122,7 @@
data = {
b'source': base.hex(),
b'destination': parent.hex(),
- b'nbrevs': len(repo.revs('%d::%d', b, p)),
+ b'nbrevs': len(repo.revs('only(%d, %d)', p, b)),
b'nbmissingfiles': len(missing),
}
if dostats: