[Top][All Lists]

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

Re: identifying user at commit time

From: Denniston, Todd A CIV NAVSURFWARCENDIV Crane, Code 6067
Subject: Re: identifying user at commit time
Date: Thu, 27 Sep 2007 09:54:07 -0500
User-agent: Thunderbird (X11/20070728)

Giacomo Ciani wrote, On 09/27/2007 04:28 AM:
-----Messaggio originale-----
Da: Todd Denniston [mailto:address@hidden
Inviato: mercoledì 26 settembre 2007 16.34
A: address@hidden
Cc: address@hidden
Oggetto: Re: identifying user at commit time

with PSERVER, IIRC, your username gets embedded in each sandbox
CVS/Root file on checkout and thus is more difficult to change the
i.e., each CVS/Root file would have to be modified each time a
different user
wanted to do a CVS command.
If the users don't have to share the same _physical_ sandbox, which in
cases they don't,

But in this case they are doing exactly this! :-(

<SNIP user trust explanation>
- I should be able to do that by command line simply specifyng the
username at commit time. Implementation details depend on connection
Unfortunately not on the command line, but "Implementation details [do]
on connection method".

I tried this from commandline:

User1 modifies file pippo.txt and types:

Cvs -d :pserver:user1:address@hidden/repository commit pippo.txt

Then User2 modifies pippo.txt on the same machine, same sandbox, and types

Cvs -d :pserver:user2:address@hidden/repository commit pippo.txt

The file history reports two modifications, one by user1 and the other one
by user2, even if the operation had been performed on the same machine, same
account and same sandbox. And it seems to work regardless of who checked out
the sandbox (that, I imagine, is the username specified in the cvs/root

This is good to hear, because I thought that -d on the command line was ALWAYS overridden by the CVS/Root file.

Now I only need a way to do that with a client, or at least with a sort of
script, so that users have not to learn cvs usage from command line...

Time to find the news group||mailing list for your GUI of choice and ask there how to force the gui to ALWAYS pass
-d :pserver:username:address@hidden/repository
to cvs instead of defaulting to what is in CVS/Root file.

Good luck.
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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