Bug 81948 - [Sync Info] CVS interface drops last character of hostname
Summary: [Sync Info] CVS interface drops last character of hostname
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: Other All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2004-12-27 18:25 EST by Robin Rosenberg CLA
Modified: 2009-08-30 02:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg CLA 2004-12-27 18:25:09 EST
If the pserver url in a CVS directory is e.g. :pserver:user@host/directory 
Eclipse will try to connect to the host "hos", and not "host" when using the 
Team>Share Project option. 
 
Just about all examples of pserver "url"'s use an extra colon, but it is not 
really required unless you want to specify a port.
Comment 1 Jean-Michel Lemieux CLA 2005-01-05 16:04:55 EST
The valid format (from the cederqvist) is:
	:method:[[user][:password]@]hostname[:[port]]/path/to/repository
	
However, this does not work with CVS on NT so we use the format
	:method:[user[:password]@]hostname[#port]:/path/to/repository
	 
Some differences to note:
The : after the host/port is not optional because of NT naming including device
	e.g. :pserver:username:password@hostname#port:D:\cvsroot
Comment 2 Robin Rosenberg CLA 2005-01-06 14:14:43 EST
The root is what existing CVS/Root files contain (i.e. the server accept the 
syntax). Couldn't eclipse then simply accept that? 
 
I'm not checking out new stuff. 
 
Comment 3 Michael Valenta CLA 2005-01-06 14:36:48 EST
The format in the cedarquist does say that the colon after the host is 
optional and although we did fix this in one spot, there must be somewhere 
else that is expecting the colon. 

The CVS/Root file will contain the colon if the project is checked out with 
Eclipse or if the user specifies the colon in the argument passed to the -d 
global argument when checking out the project. Therefore, the workaround is to 
either check the project out with Eclipse or make sure you include the colon 
when using another CVS client. 

Ideally, this should be fixed, but given there are workarounds, I don't 
consider it a high priority. Of course, patches are gratefully accepted;-)
Comment 4 Michael Valenta CLA 2006-06-19 13:37:12 EDT
There is currently no plan to address this item.
Comment 5 Eclipse Webmaster CLA 2009-08-30 02:32:36 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.