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 98292 - Change CVS root writes trailing slashes.
Summary: Change CVS root writes trailing slashes.
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 157759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-20 10:00 UTC by Peter Pis
Modified: 2009-04-06 14:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-03-20 10:00:28 UTC
NetBeans IDE Dev (Build 200703181900)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Steps:
1. Open versioned controlled project.
2. Select project root and invoke "CVS | Change CVS Root..." action from main menu.
3. Enter new CVS Root with trailing slash. 

All CVS/Root files now contain trailing slash. This should be control and
trailing slash should be omitted.
Comment 1 edgrimm17 2009-04-06 14:30:21 UTC
You asked NetBeans to use a CVS root with a trailing slash, and it did so.  Performing CVS actions in this configuration
still works for me.  I'm not sure I understand the issue.

In fact, I think it would probably be more of a bug to remove the trailing slash, because that could potentially cause
problems with a hypothetical environment which depended upon the trailing slash.
Comment 2 edgrimm17 2009-04-06 14:35:48 UTC
*** Issue 157759 has been marked as a duplicate of this issue. ***
Comment 3 edgrimm17 2009-04-06 14:39:22 UTC
Aha!  In bug 157759, tomakaze explains it: if your CVS server is a Windows system, the trailing slash does cause problems.

In that case, I see it as a real issue - but I personally think it should be fixed by detecting a trailing backslash (\)
charater only, not a forward slash (/), as trailing forward slashes do not appear to cause issues.