Upgrading an anonymous CVS check-out to a developer check ou

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Upgrading an anonymous CVS check-out to a developer check ou

Post by nielsene »

I have an anonymous CVS checkout of my project's source from the repository at SF.net. Is there any way to "upgrade" to a developer based checkout?

There's a lot of "extras" in the current checked-out source tree. Things that shouldn't be committed back, but are a pain to setup in the first place. So I'd prefer to not have to wipe the checkout and re-checkout anew.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Welcome to the pain of CVS.

You can, but you have to juggle a bit, and do quite a bit manually..

First setup three directories:

BACKUP
ANON
DEV

Do a cvs checkout in the dev directory, using your dev login. copy anon (with your changes) to backup.

Then move the *.php files from ANON to dev, overwriting the originals. Commit. Then when you think you are done, manually do a diff between the directories, ensuring that you didn't miss any important files. Rinse, repeat.

Eventually, anon will have no files, dev will have all the changes, and they will be committed. When its 100% done, you can delete backup, and you are all set.
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

Well there's nothing that should be committed from the anon checkout to the repository. I would just like to avoid the multihour delay from committing bug fixes to the trunk to being able to update the live site(s).
Post Reply