Here's another stab at log --copies. It saves time and memory over the last version by caching the rename history of a file over the log range the first time the file is accessed, instead of simply holding the filelog open.