Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
mercurial-devel
Commits
8d5dba93aa4f
Commit
8d5dba93
authored
Nov 24, 2015
by
timeless
Browse files
contrib/perf: perfparents handle filtered repos
parent
e94bfebb4f35
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/perf.py
View file @
8d5dba93
...
...
@@ -302,6 +302,7 @@
timer
,
fm
=
gettimer
(
ui
,
opts
)
if
len
(
repo
.
changelog
)
<
1000
:
raise
error
.
Abort
(
"repo needs 1000 commits for this test"
)
repo
=
repo
.
unfiltered
()
nl
=
[
repo
.
changelog
.
node
(
i
)
for
i
in
xrange
(
1000
)]
def
d
():
for
n
in
nl
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment