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

Re: augmented diff, draft now mature

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-07-11 21:13:35 CEST

[Dan Christian]
> The old version is sitting there in version control. Does it make
> any sense to have the patch hold the URL/revision information of the
> file being deleted? The you could conceive of reversing the patch
> deterministically and efficiently.

The point is that a svnpatch could be applied to something other than
the original path (or even the original repository -
there might be two parallel repos for political reasons and someone
wants ot use svnpatches to port things between them), _and_ someone
might want to apply it in reverse, just as one sometimes does with diff
and patch. Obviously, doing 'svn diff --meta -c-735' would produce the
inverse of 'svn diff --meta -c735', so the ability to apply a diff in
reverse is not _necessary_, but there are people who would find it

Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Received on Wed Jul 11 21:13:05 2007

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.