info-cvs
[Top][All Lists]
Advanced

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

Re: cvs add --new


From: Noel L Yap
Subject: Re: cvs add --new
Date: Thu, 15 Feb 2001 12:48:14 -0500

IIRC, I used to do:
cvs co module
cd module
cp -r from_dir to_dir
find to_dir | xargs cvs add

Since I haven't done this in a while, I may be missing some syntax in the final
command line.

Noel




address@hidden on 2001.02.15 12:28:18

To:   address@hidden
cc:   address@hidden (bcc: Noel L Yap)
Subject:  cvs add --new




I like Rex's idea of creating a new way to add
a new directory (and contents) to the repo.
I do this all the time; "Import" is typically not
what I want to do, and I haven't yet written a
wrapper script to perform this sequence of actions
so I end up doing it manually:

cvs -F co -l <parent> (To avoid my default "co -P")
Copy the "new" folder into the local "parent" dir
cd <parent>
cvs add <new>
etc.

It *would* be nice to have a "add --new" or something
like that (there must be some single-letter option we
can use).  I think the only thing Rex left out of
the required args is the path to the desired "parent"
dir in the repo under which to add the new folder
(like for the "import" command).

Thoughts?

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co. Incorporated, its
subsidiaries and affiliates.




reply via email to

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