You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2006/12/19 01:16:03 UTC

JavaHL and diff output

I do not think I have ever posted this request, but it is something that
just popped on to my radar again today.

When Subclipse is used to creates patches, the resulting diff output always
contains fully qualified path names.  My guess is that this is because the
current working directory will typically be the path used to start Eclipse,
and since the working copies are not relative to this location the paths are
fully qualified.  The cause is really just speculation on my part, but not
all patch apply tools handle these paths well.

Anyway, I was wondering if this is something that can be handled within
JavaHL so that the paths are relative inside the patch?  Java does not
include classes for manipulating the working directory so if that was the
cause, then it would have to happen inside the C++ JavaHL library.

Thanks

Mark Phippard
http://markphip.blogspot.com/