> Here's the idea:
>
> The `svn diff' command will decide if the file in question has local
> mods or not; if so, it will spawn the external diff process. (Our
> local_mod_p routine already does optimizing things like examining file
> mtimes and sizes.)
>
> This will almost certainly result in a faster `svn diff'. Most of the
> time we won't even have to spawn the external process now.
That will make it much more efficient and is a good idea.
It's not bullet proof, though :-). Just because it has
been modified doesn't mean it has not been modified back to
its original state. (Unless, of course, the ``been modified''
test includes check summing with mtime and size ;-)
Received on Sat Oct 21 14:36:20 2006