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

Re: What do you Hate about Subversion?

From: Byron Brummer <byron.brummer_at_livenation.com>
Date: 2007-02-02 04:56:05 CET

Samay wrote:
>>> There are lots of tools to convert files.
>>
>> There are lots of ways to keep unchanged copies of files.
>>
>> > I don't want svn to become
>>> one of those, except to the minimal extent possible.
>>
>> The value of a revision control system is that it can show you the
>> changes between versions. If it thinks every line changed every time
>> you touch a file because you had to 'convert' with some other tool to
>> make normal text, you've reduced it to the equivalent of a backup system.
>
> wont above depend more on the inherent intelligence of the 'diff' tool
> used instead of the version control mechanism such as SVN. SVN allows to
> use Diff tool that suits your purpose.

        Don't be fooled... --diff-cmd and --diff3-cmd don't (easily) let
        you replace your diff with anything but GNU diff as that is what
        svn assumes blindly that you're going to be using. You can
        hack your way around it, but it's non-trivial at best.

        That said, using the above options to wrap GNU diff and add the
        -b option (ignore whitespace when computing a diff) makes diff
        output and merge results oh, so much saner.

        CVS added the -b option to it's cvs diff command ages ago. Why
        hasn't SVN done similar for svn diff/svn merge? It seems like one
        of those, "How in the world could you overlook *that*?!", kind
        of things....

-Byron

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 2 04:57:29 2007

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

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