On Thu, Sep 9, 2010 at 6:41 AM, Neil Bird <n...@fnxweb.com> wrote: > > Is there any way possible (aside from write a script to generate modified > files) to update, checkout or otherwise fetch files from svn *without* > having it honour the svn:keywords property (and without permanently removing > said property)? > > This is for the purposes of doing some out-of-repo difference checking. I > have one set of files with unexpanded headers (as if they were about to > freshly be added), and another from a repo. with expanded headers, and of > course they all show up as different.
Our upstream developers added the "--ignore-keywords" option in the trunk. But you can also look into using "diff" tools that can be set to ignore selected keywords, such as "--ignore-matching-lines" for GNU diff. If it's going to be an ongoing issue, you might also consider disabling keyword expansion entirely, even blocking its use in your pre-commit scripts. Some source control systems do not support them at all, believing that the source control system should not *touch* the actual contents of the file. (git, for example, does not support keywords.) It does have its uses for version tracking in exported files, but it can be an issue as well as you are seeing.