info-cvs
[Top][All Lists]
Advanced

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

Re: How can I convert from anonymous to real user account?


From: Derek R. Price
Subject: Re: How can I convert from anonymous to real user account?
Date: Tue, 03 Oct 2000 09:36:48 -0400

It might be easier to change the Root of your workspace.  There's a Perl
script floating around out there to do that.  I'm not sure where it is, but it
amounts to:

    #!/bin/sh
    for dir in `find . -name CVS -prune -print`; do echo
":pserver:<mynewid>@cvs.proj.org:/cvsroot" >$dir/Root; done

Please backup b4 using this, but it should be close.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
There is not a truth on earth which I fear or would disguise.  But secret
slanders cannot be disarmed, because they are secret.

                        - Thomas Jefferson to William Duane, 1806

David Trott wrote:

> This is a bit of a hack, but it worked for me (Use at your own risk).
>
> 1. TAKE A BACKUP OF EVERYTHING
>
> 2. Do an update of your anonymous copy so that you have the most up to date
> version
> 3. Delete all of the administrative files from your anonymous copy
>         on NT use a windows find for "CVS", select all then delete
>         on Unix do: rm -rf `find . -type d -name CVS -print`
> 4. Checkout the current version using your real acount into a DIFFERENT
> directory
> 5. Do a recursive copy from your anonymous directory to your real directory
> 6. Do an update
> 7. Add any new files.
> 8. Delete any dead file.
> 9. Commit it.
>
> Hope this helps,
> David
>
> ----- Original Message -----
> From: "Phil Hollenback" <address@hidden>
> Newsgroups: gnu.cvs.help
> Sent: Monday, October 02, 2000 8:15 PM
> Subject: How can I convert from anonymous to real user account?
>
> > I checked out a tree via anonymous CVS and proceeded to make a whole
> > bunch of changes to it.  Now, I have an actual user account and want
> > to check in my changes.
> >
> > The problem is that CVS caches the account name in CVS/Root.  Is there
> > some way I can force CVS to use a different account?
> >
> > I want to do this because the changes are extensive and merging them
> > into a freshly checked-out tree would be very cumbersome.
> >
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

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