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

Re: Unified context diff...(2) WAS: RE: svn commit: rev 1802 - trunk/subversion/libsvn_delta

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-04-29 21:07:25 CEST

Hash: SHA1

On Monday 29 April 2002 11:24, Kirby C. Bohling wrote:
> So maybe I should state that more directly. Would it be possible to have
> anything that does a diff be able to take parameters to pass to the diff
> utility/library? I would very much like to have finer control over the
> diff parameters on certain occasions rather then doing svn/cvs diff
> followed by a manual patch. Especially because svn does a much better
> job of merge history then CVS ever did.

It sounds like this only really is an issue with one (or a few) files, but it
is a valid request (now you got me worried about what will happen with my
code :->). Suggestion: would it be possible to configure some of the params
as the file's properties? For example: "svn:diff-context=8" for the
offending file, with default of "3". When diffing multiple files or an
entire tree, svn would use the greatest value of svn:diff-context out of
those files.

This would make it so nobody has to remember the params every time they diff,
and I think it would just be pretty darn cool. Maybe this is not feasible,
just thought I'd through it out there for discussion.

- --
Peter Davis
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 29 21:08:52 2002

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.