info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to launch "add" command from anywhere?


From: Giovanni Mesturini
Subject: How to launch "add" command from anywhere?
Date: Tue, 7 Mar 2006 09:35:12 +0100 (CET)

Hi community,

My scenario:

CLIENT
|
workingdir
|
|--src
   |
   |--CVS
   |
   |--com
      |
      |--CVS
      |
      |--manufacturer
         |
         |--CVS
         |
         |--classes
            |
            |--CVS
            |
            |--FileToBeAdded.java

I'm in workingdir (not versioned on CVS).
I launch the following command:

cvs -d ... add
workingdir/src/com/manufacturer/classes/FileToBeAdded.java

the output is:

cvs add: in directory .:
cvs [add aborted]: there is no version here; do 'cvs
checkout' first

Then I move myself:

cd workingdir/src/

...and retry:

cvs -d ... add
com/manufacturer/classes/FileToBeAdded.java

...and it works.

Question:
Why should I be inside a working directory versioned
on CVS in order to launch an add command?
Is there a way to make it in other way in order to
launch from anywhere on the client?


        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it




reply via email to

[Prev in Thread] Current Thread [Next in Thread]