This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239642 - SVNKit unable to work with 1.7 working copies.
Summary: SVNKit unable to work with 1.7 working copies.
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL: http://issues.tmatesoft.com/issue/SVN...
Keywords: 8.0_WAIVER_APPROVED
: 243220 (view as bug list)
Depends on:
Blocks: 243753
  Show dependency tree
 
Reported: 2013-12-19 08:04 UTC by IrianR
Modified: 2014-04-24 02:15 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IrianR 2013-12-19 08:04:14 UTC
[ BUILD # : 201312170002 ]
[ JDK VERSION : 1.7.0_45 ]

STEPS:
    Checkout any project from SVN with 7.4 (using 1.7 working copy format).
    Open the above project with 8.0 DEV and choose not to update the working
copy.
    Try doing an SVN Show Changes operation.

ACTUAL:
    An error message pops up stating a working copy update is required.

EXPECTED:
   Normal SVN Show Changes is performed just like it is in 7.4 with an older
working copy.

NOTE:
   The IDE also offers a flag during checkout to prefer old 1.6 working copy
format, if this option is selected when a new project is checked out then the
new project works fine, so the only problems seems to be with 1.7 to 1.8
working copies.
Comment 1 Ondrej Vrabec 2013-12-19 08:25:40 UTC
sure SVNKit cannot work with 1.7 working copies (only with 1.6 and 1.8). This is not the right place to file such a bug. File it here: http://svnkit.com/support.html
Comment 2 IrianR 2013-12-19 08:47:38 UTC
(In reply to Ondrej Vrabec from comment #1)
> sure SVNKit cannot work with 1.7 working copies (only with 1.6 and 1.8).
> This is not the right place to file such a bug. File it here:
> http://svnkit.com/support.html

Sorry for the useless bug, I just thought it was worth reporting since it seems kind of strange for it to work with 1.6 and not with 1.7.

I've never worked with SVNKit directly and thought they should be backwards compatible by default, obviously their testing department is not so good.
Comment 3 IrianR 2013-12-19 08:54:17 UTC
(In reply to IrianR from comment #2)
> (In reply to Ondrej Vrabec from comment #1)
> > sure SVNKit cannot work with 1.7 working copies (only with 1.6 and 1.8).
> > This is not the right place to file such a bug. File it here:
> > http://svnkit.com/support.html
> 
> Sorry for the useless bug, I just thought it was worth reporting since it
> seems kind of strange for it to work with 1.6 and not with 1.7.
> 
> I've never worked with SVNKit directly and thought they should be backwards
> compatible by default, obviously their testing department is not so good.

it seems the bug was already reported:

http://issues.tmatesoft.com/issue/SVNKIT-430

let's just hope the fix makes it in time for 8.0 release.
Comment 4 Ondrej Vrabec 2013-12-19 09:03:41 UTC
then you should comment (or vote) on their bug. From the bug description they would implement it only if enough users requested it.
Comment 5 IrianR 2013-12-19 09:09:47 UTC
(In reply to Ondrej Vrabec from comment #4)
> then you should comment (or vote) on their bug. From the bug description
> they would implement it only if enough users requested it.

According to this comment

http://issues.tmatesoft.com/issue/SVNKIT-430#comment=60-5583

the fix is already planned, and there is also a parameter to enable read only operations on 1.7 working copies that should already be available.

So maybe this issue could prove useful as a reminder to check the next releases of the SVNKit :)
Comment 6 Ondrej Vrabec 2013-12-19 09:19:25 UTC
reopening as a RFE, if svnkit supports 1.7 working copies sometime in future
Comment 7 IrianR 2014-01-29 10:17:22 UTC
The related bug report in SVNKit has been closed yesterday stating that full read/write support for 1.7 working copies will be integrated in the coming 1.8.4 version.
Comment 8 Ondrej Vrabec 2014-02-04 09:57:20 UTC
(In reply to IrianR from comment #7)
> The related bug report in SVNKit has been closed yesterday stating that full
> read/write support for 1.7 working copies will be integrated in the coming
> 1.8.4 version.
If they manage to release 1.8.4 in the first half of this week, i will upgrade it in NetBeans making the IDE able to work with 1.7 working copies. But since we're having the code freeze next week, i cannot wait any longer.
Comment 9 IrianR 2014-03-06 16:33:23 UTC
(In reply to Ondrej Vrabec from comment #8)
> (In reply to IrianR from comment #7)
> > The related bug report in SVNKit has been closed yesterday stating that full
> > read/write support for 1.7 working copies will be integrated in the coming
> > 1.8.4 version.
> If they manage to release 1.8.4 in the first half of this week, i will
> upgrade it in NetBeans making the IDE able to work with 1.7 working copies.
> But since we're having the code freeze next week, i cannot wait any longer.

They released 1.8.4 but it's way too late now, so this will have to wait for 8.1 or possibly a patch release your call what of the 2.


Changelog from the SVNKit site:
2 March 2014, 14:00, version 1.8.4
Changelog:

+ Full transparent support of 1.7 working copy format.
+ Crash on concurrent access to GNOME Keyring fixed.
+ Non-atomic rename issues when JNA is not present fixed.
+ Missing JavaHL 1.8 methods implemented.
+ Stability and performance improvements.
Comment 10 Ondrej Vrabec 2014-03-10 08:51:39 UTC
fix: http://hg.netbeans.org/core-main/rev/922712d1d95e
Comment 11 Ondrej Vrabec 2014-03-10 11:51:53 UTC
(In reply to IrianR from comment #9)
> They released 1.8.4 but it's way too late now, so this will have to wait for
> 8.1 or possibly a patch release your call what of the 2.
Now that it's been upgraded in NB dev builds, you should test it and check everything works in a development build so it can be backported to 8.0
Comment 12 Quality Engineering 2014-03-11 03:05:04 UTC
Integrated into 'main-silver', will be available in build *201403110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/922712d1d95e
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #239642 - SVNKit unable to work with 1.7 working copies.
upgrading svnkit to 1.8.4
Comment 13 IrianR 2014-03-13 13:15:24 UTC
(In reply to Ondrej Vrabec from comment #11)
> (In reply to IrianR from comment #9)
> > They released 1.8.4 but it's way too late now, so this will have to wait for
> > 8.1 or possibly a patch release your call what of the 2.
> Now that it's been upgraded in NB dev builds, you should test it and check
> everything works in a development build so it can be backported to 8.0

I ran a first and quick smoke test and everything seems to be in order, once 8.0 goes officially final I'll do more tests and verify the fix.
Comment 14 IrianR 2014-03-24 08:31:43 UTC
I've been able to use the updated SVNKit with 1.6, 1.7 and 1.8 working copies performing all the major operations without detecting any serious issue.

For me everything works as expected.
Comment 15 Ondrej Vrabec 2014-03-24 19:06:47 UTC
*** Bug 243220 has been marked as a duplicate of this bug. ***
Comment 16 AlexFalappa 2014-03-25 08:04:53 UTC
I can confirm that subversion 1.7 working copies are correctly supported in the latest development build as of today (NetBeans IDE Dev (Build 201403250001)).

Do you think to backport this enhancement to Netbeans 7.4 too?
Comment 17 Ondrej Vrabec 2014-03-25 08:12:30 UTC
(In reply to AlexFalappa from comment #16)
> Do you think to backport this enhancement to Netbeans 7.4 too?
I don't think so, 7.4 will most likely have no other patch And i don't see any reason to backport this, AFAIK 1.7 working copies are natively supported in NetBeans 7.4. Support for SVN 1.8 came in NetBeans 8.0, right?
Comment 18 AlexFalappa 2014-03-25 09:24:22 UTC
Yes, Netbeans 7.4 supports subversion 1.7 and 1.6 wirking copies.

I were asking if support of subversion 1.8 copies by backporttin svnkit 1.8.5 would be feasible.

Anyway, we can live with only Netbeans 8.0 supporting subversion 1.8 working copies.

Thanks
Comment 19 Ondrej Vrabec 2014-04-15 14:27:11 UTC
releases #9d4224f9c6f5
Comment 20 Quality Engineering 2014-04-24 02:15:50 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/9d4224f9c6f5
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #239642 - SVNKit unable to work with 1.7 working copies.
upgrading svnkit to 1.8.4
(grafted from 922712d1d95e97dbe91d7a1850f7effc2e1dc4af)