hg 1.1 - cvsps problems with directory moves

Frank A. Kingswood frank at kingswood-consulting.co.uk
Thu Dec 4 06:54:12 CST 2008


Arne Babenhauserheide wrote:
 > cvs -d :pserver:anonymous at anoncvs.gentoo.org/var/cvsroot co gentoo-x86
 > hg convert gentoo-x86/app-editors/nano/ nano

 > cvs server: cvs checkout: cannot find module `gentoo-x86/app-
 > 
editors/nano/var/cvsroot/gentoo-x86/app-editors/nano/files/digest-nano-1.0.2' 

 > - ignored
 >
 > abort: unknown CVS response: error

It works when you give the colon after the hostname:

cvs -d :pserver:anonymous at anoncvs.gentoo.org:/var/cvsroot \
    checkout -d nano gentoo-x86/app-editors/nano
hg convert nano

I think CVS may be a bit more forgiving than what the manual says.
Quoting from http://cvsbook.red-bean.com/

The path to the repository may be preceded by an access method, 
username, and host, according to the following syntax:

      [[:METHOD:][[USER@]HOST]:]/REPOSITORY_PATH

and I read that to mean that you must have the colon between host and 
the initial / on the path. I just checked and sources.gentoo.org has
the correct line

cvs -d :pserver:anonymous at anoncvs.gentoo.org:/var/cvsroot co gentoo-x86

Hope this helps,

Frank



More information about the Mercurial mailing list