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 146041 - [65cat] svn module has error on special repository path
Summary: [65cat] svn module has error on special repository path
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 155778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-03 13:55 UTC by ulfzibis
Modified: 2009-02-22 07:55 UTC (History)
0 users

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 ulfzibis 2008-09-03 13:55:50 UTC
[ BUILD # : 200808260201 ]
[ JDK VERSION : 1.6.0_07 ]

I tried to switch my working copy to
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-
charset-enhanced/tags/sun_io_CharacterEncoding_using_String%5B%5D%5B%5
D/src/sun/io/CharacterEncoding.java

It was not possible because of "[]" in the path name.
Error message:
URL
'https://java-nio-charset-enhanced.dev.java.net/svn/java-nio-charset-e
nhanced/tags/sun_io_CharacterEncoding_using_String[][]' is not
properly URI-encoded

So I tried to switch to by TortoiseSVN, and was successful.

So IMO NB IDE should accept this path also.

After I invoked "Subversion->Show Changes", but IDE didn't show SVN
Versioning Label regarding the branch.
After dis- + enable "Show Versioning Labels", the label became
visible.
Comment 1 Peter Pis 2008-09-03 14:11:50 UTC
BTW, command line also fails with the same error if "[]" are used.
Comment 2 ulfzibis 2008-09-03 15:10:42 UTC
Oops, so it remains a mystery, how TortoiseSVN can do this.
Have you tried it from Windows OS?
Maybe there was a Bug fix in the last version. My TortoiseSVN uses 1.5.2 SVN library.
The java.net subversion web interface also works without problems with "[]".
Comment 3 Peter Pis 2008-09-04 08:19:29 UTC
I've tried different versions of svn 1.5.0, 1.5.1 and 1.5.2. From the windows (command line) it doesn't work - "[]".
More over this should be treated by svn adapter, I am changing this issue to enhancement.
Comment 4 Ondrej Vrabec 2009-02-20 12:55:45 UTC
*** Issue 155778 has been marked as a duplicate of this issue. ***
Comment 5 Ondrej Vrabec 2009-02-20 12:58:33 UTC
fixing

changeset   : 117581:1550104f7fa6
author      : Ondrej Vrabec <ovrabec@netbeans.org>
date        : Fri Feb 20 13:52:33 CET 2009
summary     : #146041 - [65cat] svn module has error on special repository path

escaping some special chars like '[', ']', '?', ';', '#', '%' - those are not automatically escaped by svn
Comment 6 Quality Engineering 2009-02-22 07:55:01 UTC
Integrated into 'main-golden', will be available in build *200902220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1550104f7fa6
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #146041 - [65cat] svn module has error on special repository path
autoescaping some special characters