RFC: Moving C to its own directory
Daniel Egger
degger@fhm.edu
Mon Jun 2 10:09:00 GMT 2003
Am Son, 2003-06-01 um 22.10 schrieb Russ Allbery:
> cp avoids this, but has a different problem of giving you both the old and
> the new locations when you check out an old version. What you have to do
> is cp the ,v files and then remove all the old tags from the new ,v files,
> and then cvs remove all of the old files from the mainline. It's messy,
> ugly work with RCS file internals.
Might be a plan to do something like:
cp -r --parents <all_directories_and_files> <new_location>
on the server followed by some:
cvs remove -fR <all_directories_and_files>
cd <copied_all_directories_and_files> && for i in <tags> do; cvs rtag -d $i .; done
on the client where
<all_directories_and_files> denotes all files to be moved and
<copied_all_directories_and_files> the same files in the new location
while <tags> are all tags to be removed which can be gotten with
with a grep over the "cvs log" output of all files, followed by a "cut"
and a "sort -u".
--
Servus,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030602/59c01ede/attachment.sig>
More information about the Gcc
mailing list