comparison mercurial/treediscovery.py @ 20293:2f6b3900be64

cat: increase perf when catting single files Special case the single file case in hg cat. This allows us to avoid parsing the manifest, which shaves 15% off hg cat perf. This is worth it, since automation often uses hg cat for retrieving single files.
author Durham Goode <durham@fb.com>
date Tue, 14 Jan 2014 13:38:16 -0800
parents d2704c48f417
children 0ca8410ea345
comparison
equal deleted inserted replaced
20292:8dc254198a8f 20293:2f6b3900be64