[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing module names, preserving history
From: |
Mark D. Baushke |
Subject: |
Re: changing module names, preserving history |
Date: |
Wed, 16 Nov 2005 15:33:18 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sean Brown <address@hidden> writes:
> I've inhereted a cvs repository with a whole bunch of modules from a
> previous IT director who, apparently, had never heard of naming
> conventions. I'd like to rename the modules, but I'm afraid of losing
> the history associated with them.
>
> I've been told that I can simply SSH in, change to root, and change
> the names of the module direcotries and all history will be preserved.
>
> So, let's say:
>
> CVSROOT=/home/cvs/cvsroot
>
> and there is a module in their named "badly_named_module." It would
> be /home/cvs/cvsroot/badly_named_module. If I changed the name of the
> directory to /home/cvs/cvsroot/perfectly_named_module, would all of
> the files contained therein keep their history?
Yes.
Beware that if there were any scripts or documents that had
module-relative names, they may have problems (consider if
"bad_module_other/index.html" had a line like
<a href="../badly_named_module/foo.html">text about foo</a>
then you have introduced problems in your repository.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFDe8G9Cg7APGsDnFERArumAJ4pkW7lWZ3eGoM3NiOY9Gkya6sQUACeI7KC
c4x6SI8oWDHV8O5QjyYdRak=
=mQkL
-----END PGP SIGNATURE-----