[p4] Remotely reverting a file?
Zarnes, Todd
Todd_Zarnes at intuit.com
Fri Feb 10 10:28:51 PST 2006
It's Friday. Used p4 set P4HOST=bldl0111111 and I was able to revert the
open file from my workstation.
Todd Zarnes
-----Original Message-----
From: Zarnes, Todd
Sent: Friday, February 10, 2006 11:23 AM
To: 'Russell C. Jackson'; 'Vaden, Paul'
Cc: perforce-user at perforce.com
Subject: RE: [p4] Remotely reverting a file?
Rusty,
Anyway to bypass having to be logged onto the users host computer before
performing these actions? I run then steps you outlined below and I get:
"Client 'RogerXP' can only be used from host 'bldl0111111'."
Todd Zarnes
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Russell C. Jackson
Sent: Thursday, February 09, 2006 9:39 PM
To: 'Vaden, Paul'
Cc: perforce-user at perforce.com
Subject: Re: [p4] Remotely reverting a file?
If you use the p4 login command to login in as a super user first, you can
then run the p4 login <user> command to create a login ticket for that user
without knowing their password. The server will not prompt for the password
since you already have a login ticket as the super user.
After that, you can set P4USER=<the users id>, set P4CLIENT=<the users
client>, then run p4 revert on the file.
Thanks,
Rusty
--------------------------------------------------------
RCJackson Consulting
Perforce Consulting Partner and Certified Trainer
--------------------------------------------------------
Russell C. Jackson
211 River Oaks Lane
Russellville, AR 72802
--------------------------------------------------------
rusty at rcjacksonconsulting.com
http://public.perforce.com/guest/russell_jackson/pcp.html
tel: 479-696-9710
fax: 479-967-2308
mobile: 479-747-3845
--------------------------------------------------------
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Vaden, Paul
Sent: Thursday, February 09, 2006 12:34 PM
Cc: perforce-user at perforce.com
Subject: [p4] Remotely reverting a file?
Is there an easy admin command that will revert a file without having to
delete the user's clientspec or invade their local machine?
For example, an engineer checks out a file and doesn't check it back in
before going on vacation. Another engineer needs to work on that file and
asks me as the SuperUser to revert it. Is there a way for me to do this with
out 1) Changing users password and logging into his machine and reverting
via the client, or 2) Deleting his clientspec, thus reverting all files he
has checked out.
Both of those options seem really obtrusive. I've looked through the docs
and don't see an alternative.
-V
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list