Submitter | Pierre-Yves David |
---|---|
Date | Oct. 8, 2019, 11:47 a.m. |
Message ID | <3c1b646e3acdf5386b01.1570535278@nodosa.octobus.net> |
Download | mbox | patch |
Permalink | /patch/42105/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -1192,11 +1192,13 @@ def perfdirstatewrite(ui, repo, **opts): ds = repo.dirstate b"a" in ds + def setup(): + ds._dirty = True + def d(): - ds._dirty = True ds.write(repo.currenttransaction()) - timer(d) + timer(d, setup=setup) fm.end()