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

Multi-line property diffs on Win32 are diffed as a single-line ?

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-09-11 05:06:27 CEST

Hello everyone,

I have the following recipe that consistently reproduces the problem:
rd /s/q repos wc
svnadmin create repos
svn co file:///repos wc
cd wc
echo propval >propval
echo build >>propval
svn propset -F propval svn:ignore .
svn commit -m "Setting svn:ignore"
echo .cvsignore >>propval
svn propset -F propval svn:ignore .
svn diff

The output from the last diff is thus:
H:\wc>svn.exe diff

Property changes on:
___________________________________________________________________
Name: svn:ignore
   - propval
build

   + propval
build
.cvsignore

Notice that SVN reports a single line removal/addition. Such a diff
would be consistent with a line that is modified, not with the addition
of a line to a file. What I had expected is diff with a single added
line. Something along those lines:

H:\wc>svn.exe diff

Property changes on:
___________________________________________________________________
Name: svn:ignore
    propval
    build

    propval
    build
   +.cvsignore

My environment: Win2K SP4
svn, version 0.29.0 (r6976)
   compiled Sep 8 2003, 00:45:48

Is that result expected, or should I file an enhancement or bug report ?

Thanks !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 11 05:07:14 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.