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

JavaHL and diff output

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-12-19 02:16:03 CET

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.


Mark Phippard
Received on Tue Dec 19 02:16:20 2006

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