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 213249 - Canceling a commit broke SVN support
Summary: Canceling a commit broke SVN support
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 15:06 UTC by javydreamercsw
Modified: 2012-06-05 06:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Logs (404.62 KB, text/plain)
2012-05-30 15:07 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-05-30 15:06:34 UTC
Product Version = NetBeans IDE Dev (Build 201205300001)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_04
Runtime = Java HotSpot(TM) Client VM 23.0-b21

I cancelled a commit operation. After that any attempt to do a svn operation on the project showed an error asking me to update the client to 1.7.0 or newer. Then the IDE freezes.
Comment 1 javydreamercsw 2012-05-30 15:07:14 UTC
Created attachment 120077 [details]
Logs
Comment 2 Ondrej Vrabec 2012-05-31 13:21:35 UTC
Log contains:
> INFO [org.netbeans.modules.subversion]: org.apache.subversion.javahl.ClientException: Previous operation has not finished; run 'cleanup' if it was interrupted
have you tried it?
Comment 3 Ondrej Vrabec 2012-05-31 13:52:25 UTC
i mean, have you tried running Subversion -> Cleanup? Does it help?
Comment 4 javydreamercsw 2012-05-31 15:16:16 UTC
Yes I did and it worked. The bug really is that the IDE didn't expose this to the user in any way. I only saw that error when I tried the commit from TortoiseSVN. For a normal user it'll look like a NetBeans issue.
Comment 5 Ondrej Vrabec 2012-06-01 09:04:28 UTC
fix: http://hg.netbeans.org/core-main/rev/2e6ff9c10b3f
Comment 6 Quality Engineering 2012-06-05 06:05:41 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2e6ff9c10b3f
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #213249 - Canceling a commit broke SVN support
notify user about the corrupted working copy and allow the cleanup action to run without repository url which cannot be acquired for such a wc