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

Re: What does 'svn diff' do?

From: Michael Sweet <mike_at_easysw.com>
Date: 2005-10-10 22:52:56 CEST

kfogel@collab.net wrote:
> Michael Sweet <mike@easysw.com> writes:
>> No, however I am more optimistic about an effort that has even an
>> incomplete specification/proposal than one in which people say "this
>> is hard, we need to get with everyone else to define it".
>>
>> It is laudable to have a patch format that is usable by all version
>> control systems, however from a practical standpoint it is more
>> important to have a way to express patches beyond universal diffs
>> with Subversion (I personally don't care about anything else.)
>
> Are there straightforward transformations that would make the SVK
> format useable for Subversion? I'd love to stay as compatible with
> SVK as we can.

I'm sure you could do something very similar, although I don't know
if the SVK data chunk (base64-encoded, flate compressed, text data)
would map cleanly to plain Subversion. Unfortunately, I can't find
any real documentation on the chunk format, and my Perl-fu skills
aren't up to the SVK source...

Aside from that, SVK patches are just unified diffs, so at the very
least you can come up with additional Subversion-specific data
chunks that are ignored by patch(1) and SVK, at least initially.
Perhaps some combination of the dump and unified diff formats?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 10 22:53:50 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.