When working with mercurial, I frequently do things like
vim <(hg cat -r 42 somefile)
However, if I try this with a file larger than several hundred lines, I get a Read Error in vim, and only the first couple of hundred lines are included. If I use gvim instead of vim, I get an error like
E211: FIle "/proc/3546/fd/63" no longer available
Isn't this supposed to work? I don't know if it's relevant, but I've tried both in bash and zsh, with the same result, and I also tried
cat <(hg cat -r 42 somefile)
which prints the entire file as I would expect.