Re: Re: ISVNClientAdapter.diff - how are the paths calculated?
Mark Phippard <[email protected]> Mon, 5 May 2014 11:17:27 -0400
| Newsgroups | gmane.comp.version-control.subversion.subclipse.user |
|---|---|
| Message-ID | <CAHFaGCoRiUTCZVJUSh4JxkB-mqwy0TDMTNavdneS1psppZVnMA@mail.gmail.com> |
On Sun, May 4, 2014 at 3:26 AM, Robert Munteanu <[email protected]>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.createPatch(). It sets the relativeTo path based on what the user selected in the UI. See the GenerateDiffFileOperation class in Subclipse UI. 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/ ------------------------------------------------------ http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3077595 To unsubscribe from this discussion, e-mail: [[email protected]].