[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: diff don't recognize all changes in keyword expansions

From: Rusk, Patrick <PRusk_at_wellington.com>
Date: 2003-12-19 16:59:56 CET

> That's exactly as designed. svn diff and status "un-expand"
> keywords when doing their diffs, because people generally
> don't want to see those in their diffs.

        To be a bit more precise, here's what the Advance
Topics/Properties/Special Properties/svn:keywords section of the Subversion
Book says about this:

Keywords and Spurious Differences

The user-visible result of keyword substitution might lead you to think that
every version of a file with that feature in use differs from the previous
version in at least the area where the keyword anchor was placed. However,
this is actually not the case. While checking for local modifications during
svn diff, and before transmitting those local modifications during svn
commit, Subversion "un-substitutes" any keywords that it previously
substituted. The result is that the versions of the file that are stored in
the repository contain only the real modifications that users make to the
file.

Pat

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 19 17:01:24 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.