[revml] VCP::Source::cvs complains "Absolute module reference invalid:"

shuriko@gmail.com shuriko@gmail.com
Sun, 07 Nov 2004 15:44:27 -0800


This is a multi-part message in MIME format.
--------------010803010802080604000900
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Dimitry --

Thanks for your reply. I tried to use SVK and it worked after some help 
from Chia Liang Kao. The problem indeed turned out to be the repository 
URL. The "correct" URL was something like: 

    -d:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm:sugarcrm/...

, the / and ellipsis at the end being important. A bit peculiar (maybe 
because of the p4 ancestry of VCP :-) but it worked for me.

Cheers,
Alex


Dimitry Andric wrote on 11/07/2004 12:25 PM:

>On 2004-11-03 at 21:15:19 Alex wrote:
>
>  
>
>>I am trying to VCP from a CVS repo and getting this error message:
>>    
>>
>
>  
>
>>    cvs -Q -z9
>>    -d:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm checkout
>>    -r1.1 -p /sugarcrm/LICENSE returned 1 not 0
>>    stderr:
>>        cvs [checkout aborted]: Absolute module reference invalid:
>>    `/sugarcrm/LICENSE'
>>    
>>
>
>I've run into this too, although for a slightly other reason.  The
>cause is probably an invalid CVSROOT, and in your case a colon is
>missing between the hostname and the directory specification.
>
>So you will need to change:
>
>  CVSROOT=:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm
>
>into
>
>  CVSROOT=:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/sugarcrm
>
>In my case, I was using a local repository:
>
>  CVSROOT=/home/cvs
>
>which resulted in precisely the same error message.  It had to be
>changed to:
>
>  CVSROOT=:local:/home/cvs
>
>Note that CVS itself accepts either syntax for local repositories, but
>vcp apparently does not.
>  
>

--------------010803010802080604000900
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dimitry --<br>
<br>
Thanks for your reply. I tried to use SVK and it worked after some help
from Chia Liang Kao. The problem indeed turned out to be the repository
URL. The "correct" URL was something like:&nbsp;<br>
<blockquote>-d:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm:sugarcrm/...<br>
</blockquote>
, the / and ellipsis at the end being important. A bit peculiar (maybe
because of the p4 ancestry of VCP :-) but it worked for me.<br>
<br>
Cheers,<br>
Alex<br>
<br>
<br>
Dimitry Andric wrote on 11/07/2004 12:25 PM:
<blockquote cite="mid816980804.20041107212542@andric.com" type="cite">
  <pre wrap="">On 2004-11-03 at 21:15:19 Alex wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I am trying to VCP from a CVS repo and getting this error message:
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">    cvs -Q -z9
    -d:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm checkout
    -r1.1 -p /sugarcrm/LICENSE returned 1 not 0
    stderr:
        cvs [checkout aborted]: Absolute module reference invalid:
    `/sugarcrm/LICENSE'
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I've run into this too, although for a slightly other reason.  The
cause is probably an invalid CVSROOT, and in your case a colon is
missing between the hostname and the directory specification.

So you will need to change:

  <a class="moz-txt-link-abbreviated" href="mailto:CVSROOT=:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm">CVSROOT=:pserver:anonymous:@cvs.sourceforge.net/cvsroot/sugarcrm</a>

into

  <a class="moz-txt-link-abbreviated" href="mailto:CVSROOT=:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/sugarcrm">CVSROOT=:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/sugarcrm</a>

In my case, I was using a local repository:

  CVSROOT=/home/cvs

which resulted in precisely the same error message.  It had to be
changed to:

  CVSROOT=:local:/home/cvs

Note that CVS itself accepts either syntax for local repositories, but
vcp apparently does not.
  </pre>
</blockquote>
</body>
</html>

--------------010803010802080604000900--