[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rename directory
From: |
Jim Hyslop |
Subject: |
Re: Rename directory |
Date: |
Thu, 08 Dec 2005 21:14:22 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kevin Old wrote:
> Hello everyone,
>
> I have a directory, 17_coolest_things, and I'd like to rename it to
> 15_coolest_things. There are several directories under it and I don't
> need to rename any files/directories under 17_coolest_things, and
> can't seem to figure out how to do it other than copying
> 17_coolest_things to 15_coolest_things and then doing a "cvs rm
> 17_coolest_things". Then I'd have to remove all the CVS info under
> 15_coolest_things and then re-add each file/directory again. Isn't
> there a better way?
It depends - are there any makefiles, build scripts, or such like, which
will break if you check out an old tagged version? If so, then 'cvs rm'
each file in 17_coolest_things, and 'cvs add' them to 15_coolest_things.
Otherwise, just have everyone release their working directories ('cvs
release -d'), go into the repository, rename the directory, and check it
out again.
> Also a side question, is there a way to recursively add files and
> directories under a directory with one command - something like cvs
> -R add 15_coolest_things/ ?
No, the closest you can get is 'cvs import'. Either that, or the 'find'
command, with '-exec cvs add {}'
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDmOh9LdDyDwyJw+MRAv5WAJ9JEzjAJ8tI+mIQ4FfyjNTkjuuw7QCfbCv8
IYjfGfzT1F1bbJ5J54Evoko=
=pJ4R
-----END PGP SIGNATURE-----