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

Re: #3610, How make 'svn patch' able to use the targets lines for intermediate context?

From: Alan Barrett <apb_at_cequrux.com>
Date: Wed, 14 Apr 2010 23:11:32 +0200

On Wed, 14 Apr 2010, Daniel Nslund wrote:
> If we would implement --ignore-whitespaces to have the behaviour you
> suggested we would have to rewrite the parts dealing with
> modified_stream to make us able to distinguish between context lines and
> added lines. At the moment, we filter out the leading characters (' ',
> '+', '-') before writing to the streams.

Yes, I understand that implementing the "better" behaviour is a lot more
work. Perhaps it would be reasonable to implement the easier algorithm
first, and clearly document it's limitations.

> In my world, I would probably just ask the submitter to retransmit the
> patch using some other mail software.

I have sometimes taken patches from web pages where communicating with
the author is not easy. But svn doesn't have to solve this problem; we
have external tools for patching and editing.

--apb (Alan Barrett)
Received on 2010-04-14 23:12:13 CEST

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