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

Re: [TSVN] Diff on jpeg's

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-07-01 18:10:32 CEST

Rob Segal wrote:

> Now that you can specify the diff program used based on file extension
> should you not be able to diff say jpeg images? I tried doing this with
> Photoshop with no luck as Photoshop tries to open the temporary file it
> retrieves from the repository with a "tmp" extension. Photoshop of course
> says what the hell is this file extension and doesn't load the image.

You should mention this on the Subversion mailing list. The problem TSVN
has is that the conflicted files get special extensions (e.g. .r444)
indicating the revision number. If I remember correctly, it was already
mentioned before, but they didn't consider it a problem since Linux
doesn't use file extension to determine the filetype anyway. So it's
really a windows related problem - or a problem of windows programs.
But I guess if enough people complain about that and give them a real
reason why that behaviour is bad and why it would be better to at least
make the extensions to .r444.jpg or something like that they might do
something about it.

Sure, TSVN could make a copy of the conflicted files and the copy having
the correct file extension. But jpg files or other binary files can get
_very_ big - a copy is then a very bad idea. And no: just renaming the
those conflicted files doesn't work, because by renaming them Subversion
doesn't recognize them as conflicted anymore and wouldn't see that the
conflict still exists!

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 1 19:12:15 2004

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

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