Login | Register
My pages Projects Community openCollabNet

Discussions > users > RE: Re: Re: [Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated?

subclipse
Discussion topic

Back to topic list

RE: Re: Re: [Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated?

Author rombert
Full name Robert Munteanu
Date 2014-05-08 14:43:04 PDT
Message > On Sun, May 4, 2014 at 3:26 AM, Robert Munteanu
> <robert dot munteanu at gmail dot com>wrote:
>
> > Thanks for the reply.
> >
> > createPatch has the same problem - I only looked into more low-level
> > methods when createMethod started failing.
> >
> > I tried debugging this myself, but I quickly got lost in SVNKit internals
> > when doing so.
> >
> >
> Have you tried the Subclipse Create Patch option to compare results? It
> ultimately calls ISVNClientAdapter.cr​eatePatch(). It sets the relativeTo
> path based on what the user selected in the UI. See the
> GenerateDiffFileOperation class in Subclipse UI.

Just tried it and it behaves the same. Not sure if it qualifies as a bug or not ( SVNKit 1.7.9.9659 ).

Anyway, right now the simplest way out is to create a diff file-by-file and then rewrite the patch headers, since I already know the files and the repo location.

Thanks,

Robert

>
> Subclipse is written to SVNClientAdapter which is ultimately written to
> JavaHL. We use SVNKit based on its implementation of the JavaHL interface
> and rely on them to make sure it behaves the same as JavaHL on all methods.
> If SVNKit behaves different, I would assume that would show up when
> creating a patch via Subclipse as well.
>
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/

« Previous message in topic | 5 of 5 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated? rombert Robert Munteanu 2014-05-03 15:35:59 PDT
     Re: [Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated? markphip Mark Phippard 2014-05-03 16:27:28 PDT
         RE: Re: [Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated? rombert Robert Munteanu 2014-05-04 00:26:17 PDT
             Re: Re: [Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated? markphip Mark Phippard 2014-05-05 08:17:29 PDT
                 RE: Re: Re: [Subclipse-users] ISVNClientAdapter.diff - how are the paths calculated? rombert Robert Munteanu 2014-05-08 14:43:04 PDT
Messages per page: