[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cvs-dev] Different login for checkout & for commit
From: |
yannick |
Subject: |
Re: [Cvs-dev] Different login for checkout & for commit |
Date: |
Mon, 02 Mar 2009 22:03:01 +0100 |
Hi Mark,
I know this is not the best way to use it :/ but there is no others
solution for my application for now.
I just test your solution and it simply work perfect as I expect !
So Thanks for your help !
Best,
Yannick
Le lundi 02 mars 2009 à 09:29 -0800, Mark D. Baushke a écrit :
> The CVS/Root file will contain the CVSROOT value you used for the
> checkout and will try to use that user for the commit. So, if you
> did the original checkout with:
>
> cvs -d :pserver:address@hidden/repo login
> cd /some/directory
> cvs -d :pserver:address@hidden/repo checkout mymodule
>
> You may overwrite this by putting the user with 'write' credentials
> on the command-line
>
> cvs -d :pserver:address@hidden/repo login
> cd /some/directory/mymodule
> cvs -d :pserver:address@hidden/repo commit
>
> However, this is NOT really the way that CVS is intended to be used.
>
> The order of evaluation is:
>
> 1) Use the command-line '-d <cvsroot>' for the CVSROOT for the
> operation.
>
> 2) Use the contents of CVS/Root as the CVSROOT for the operation
>
> 3) Use the contents of the $CVSROOT environment variable for the
> operation (on checkout populate this value into the CVS/Root
> internal state files).
>
> Your really should be doing your checkout and your commit as the same
> user if you want any kind of CVSROOT/history to be maintained in a
> reasonable manner.
>
> -- Mark