[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs export fails with -d
From: |
Alexander Taler |
Subject: |
cvs export fails with -d |
Date: |
Wed, 11 Jun 2003 17:42:02 -0400 |
Hi,
A cvs export over a cvsclient connection using -d to specify a
directory two deep (eg "foo/bar") fails with the error:
cvs [export aborted]: could not change directory to requested
checkout directory `bar': No such file or directory
However, the same export works with a local connection.
I've tested this with Debian's 1.11.5, and my own build of 1.12.1.1.
Here's a script which illustrates the problem:
##############################
export TESTCVS_DIR=/tmp/test-cvs-ajksdlf
mkdir -p $TESTCVS_DIR/repo $TESTCVS_DIR/work
pushd $TESTCVS_DIR/work
mkdir dir1 dir2
cvs --version
cvs -d $TESTCVS_DIR/repo init
cvs -d $TESTCVS_DIR/repo export -r HEAD -d dir1/local CVSROOT
cvs -d :fork:$TESTCVS_DIR/repo export -r HEAD -d fork CVSROOT
cvs -d :fork:$TESTCVS_DIR/repo export -r HEAD -d dir2/fork CVSROOT
popd
rm -rf $TESTCVS_DIR
##############################
Here are my results:
##############################
Concurrent Versions System (CVS) 1.12.1.1 (client/server)
Copyright (c) 1989-2003 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS
cvs export: Updating dir1/local
U dir1/local/checkoutlist
U dir1/local/commitinfo
U dir1/local/config
U dir1/local/cvswrappers
U dir1/local/editinfo
U dir1/local/loginfo
U dir1/local/modules
U dir1/local/notify
U dir1/local/rcsinfo
U dir1/local/taginfo
U dir1/local/verifymsg
cvs export: Updating fork
U fork/checkoutlist
U fork/commitinfo
U fork/config
U fork/cvswrappers
U fork/editinfo
U fork/loginfo
U fork/modules
U fork/notify
U fork/rcsinfo
U fork/taginfo
U fork/verifymsg
cvs [export aborted]: could not change directory to requested checkout directory
`dir2': No such file or directory
##############################
Alex
--
http://libcvs.cvshome.org/ Access CVS through a library.
PGP: ID: 0x23DC453B FPR: 42D0 66C2 9FF8 553A 373A B819 4C34 93BA 23DC 453B
"Fido Bakin is my name."
-- The Two Towers, Malaysian edition
- cvs export fails with -d,
Alexander Taler <=