[cvsnt] Problems with export -d options

Bo Berglund Bo.Berglund at system3r.se
Fri Oct 11 16:32:33 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


The folder given in the cvs export command -d parameter will be created
by cvs below the *current* directory after which cvs will change dir to this
folder and get the files.
Obviously you cannot create a folder named C:/backupWeb below whatever folder
you are in when you invoke the cvs command, so it fails.
It will also fail if you try this: -d Web/App because cvs does not understand
how to create multiple folders.
You are stuck with the single folder below your current location.
So why not like this batch file then:
C:
cd \
set CVSROOT=:ntserver:Atlantis026:D:/WebApp
cvs export -D 10/10/2002 -d backupWeb work

/Bo

-----Original Message-----
From: RickyC [mailto:rcastrignano at hotmail.com]
Sent: den 11 oktober 2002 16:03
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Problems with export -d options


Hi,
I need to backup my web application from a cvsNT server ( Atlantis026 ) to
another PC. Since I use this syntax from a cvs client:
C:>cvs -d:ntserver:Atlantis026:D:/WebApp export  -D 10/10/2002 -d backup
work
the cvsNT server exports to the client's folder named "backup" the module
"work", and it's ok!
But when I try to backup the module in a specific directory of
C:\>cvs -t -d:ntserver:Atlantis026:D:/WebApp export -D
10/10/2002 -d:C:/backupWeb work
the cvsNT server  return an error:
-> main loop with CVSROOT=:ntserver:Atlantis026:D:/WebApp
S-> do_module (work, Updating, , )
S-> do_module (work, Updating, :C:/backupWeb, )
cvs export: cannot chdir to :C:: Invalid argument
cvs export: ignoring module work
Why???
Can someone help me ?
thanks in advance
Riccardo Castrignano
riccardo.castrignano at gruppoatlantis.com


_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook