changeset 43160:84a950007619

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 02 Oct 2019 18:39:20 -0400
parents b02387005515
children 9d57c2df7b5f
files contrib/perf.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: