comparison mercurial/util.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 47d0843647d1
children 0889585b44f1
comparison
equal deleted inserted replaced
20292:8dc254198a8f 20293:2f6b3900be64