hgext/__init__.py
author Durham Goode <durham@fb.com>
Fri, 16 Nov 2012 15:39:12 -0800
branchstable
changeset 17951 6f79c32c0bdf
parent 1360 7d439981bec4
child 28450 155e3308289c
permissions -rw-r--r--
commit: increase perf by avoiding unnecessary filteredrevs check When commiting to a repo with lots of history (>400000 changesets) the filteredrevs check (added with 5c89e7fa5bc2) in changelog.py takes a bit of time even if the filteredrevs set is empty. Skipping the check in that case shaves 0.36 seconds off a 2.14 second commit. A 17% gain.

# placeholder