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

Re: BUG(?): "svn diff" behaves incorrectly on symbolic links pointing to binary files

From: Wesley J. Landaker <wjl_at_icecavern.net>
Date: 2005-06-14 22:50:23 CEST

On Tuesday 14 June 2005 11:51, kfogel@collab.net wrote:
> It hadn't occurred to me that it mattered if the destination is
> versioned. The method I was envisioning was:
>
> When running 'svn diff' on a link, determine the textyness of the
> link target on the fly, using the same svn_io_detect_mimetype() method
> that we use at add/import time, and do not show the diff if the target
> is not texty.

From my previous example, if I add:

$ svn add text.symlink
$ svn diff

I get the same result.

> Well -- hmmm, and that would seem to be the recipe implied in the
> original report, too. Vincent? Can you reproduce this bug with
> Subversion 1.2 or with head of trunk?

It took me a couple tries to reproduce it. The key seems to be that "text"
in that example WAS a text file. If it was originally a binary file, this
doesn't happen.

-- 
Wesley J. Landaker <wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

  • application/pgp-signature attachment: stored
Received on Wed Jun 15 04:39:24 2005

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.