balgan / codeswarm

Automatically exported from code.google.com/p/codeswarm
GNU General Public License v3.0
0 stars 0 forks source link

URL for repository limited to 67 Characters #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. When prompted for the RepositoryURL, enter a URL longer than 67 characters

What is the expected output? What do you see instead?

Crashes with the message: 
[java] Exception in thread "Thread-2" java.lang.IllegalArgumentException:
Key too long

What version of the product are you using? On what operating system?

URL: http://codeswarm.googlecode.com/svn/trunk
Repository Root: http://codeswarm.googlecode.com/svn
Repository UUID: eda9c206-d64f-0410-a2f2-67f3fa0499ed
Revision: 247
Node Kind: directory
Schedule: normal
Last Changed Author: nawglan
Last Changed Rev: 245
Last Changed Date: 2008-08-26 07:30:59 -0600 (Tue, 26 Aug 2008)

Windows XP Pro

Please provide any additional information below.

java.util.prefs.Preferences object has a MAX_KEY_LENGTH property of 80.
This is used in the putLong call on line 93 of SVNHistory.java

Original issue reported on code.google.com by ice.bi...@gmail.com on 28 Oct 2008 at 9:57

GoogleCodeExporter commented 9 years ago
Here's a patch you can use.

Original comment by ice.bi...@gmail.com on 5 Nov 2008 at 4:44

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch!

Original comment by michael....@gmail.com on 6 Nov 2008 at 3:03