You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tom Lord <lo...@regexps.com> on 2002/05/24 16:02:09 UTC

diff woes


I've also noticed that you've had some minor issues with `diff'
portability and have (at least) talked about doing a built-in diff.

I'd like to make the case for new, stand-alone diff-like and
patch-like programs instead.  Most importantly, the new versions 
could handle (some notion of) file and directory renames.

We talked about portable diff formats with renaming support a while
back.  I've since gone and implemented most of the diff part of the
approach Zack suggested.  Finishing the work is straightforward, but
there are some tricky patch-set format design problems.  How are
renamed files detected, for example?  What does a
position-independent-file-id look like?  I can easily make up answers
to those questions that work for arch -- but it would be much better
to develop answers that work for both arch and subversion.

A new diff/patch system that could handle renames would make it much
simpler to move (fully general) change sets into and out of any of
the "modern" revision control systems: making gateways achievable.

For subversion, a new diff/patch combo would mean having a diff with
stable interface.  It would also be a large part of what's needed
for arch interoperability -- meaning that (some form of) distributed
repositories could be running on top of subversion relatively soon.

-t


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org