Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#80 Bad CVSROOT when custom port defined (can't use repos!)

0.6.4
open
nobody
CVS/RCS (22)
5
2005-03-18
2005-03-18
Sakari Lehtonen
No

When adding new repositories to cvsmonitor, if you define a custom
port, the CVSROOT variable becomes invalid. Apparently it has one
too many ':' at the end of the custom port.

Here is the log file when I try to checkout my repository with a
custm port:

Fri Mar 18 10:33:53 2005 Command - checkout Dicole.Dicole
Fri Mar 18 10:33:53 2005 Checking out module Dicole.Dicole
cvs checkout: CVSROOT (":pserver:username:
password@host.false:8000:/var/cvs")
cvs checkout: may only specify a positive, non-zero, integer port
(not "8000:").
cvs checkout: perhaps you entered a relative pathname?
cvs [checkout aborted]: Bad CVSROOT.
Fri Mar 18 10:33:53 2005 Error during checkout:
Fri Mar 18 10:33:53 2005 An error occured during the 'cvs checkout'
command

So I cannot use cvsmonitor at all .. And I do not like Perl, so I don't
want to go finding where the problem is. Hopefully this will be fixed
as soon as possible, or maybe you could send me a patch where
this extra ':' could be removed. Thanks.

Discussion

  • martinpllu
    martinpllu
    2005-03-30

    Logged In: YES
    user_id=1146276

    Can the priority of this defect be increased slightly
    please? It's a complete showstopper when you use non-default
    ports.

    I think it would be very easy to fix too. The generated
    CVSROOT is:

    :pserver:anonymous:anonymous@localhost:2600:/my/path

    but should be

    :pserver:anonymous:anonymous@localhost:2600/my/path

    i.e. no colon before the repository path.