[p4] Reverting files for another user?

Matt Janulewicz Matt.Janulewicz at lucasfilm.com
Mon Jan 18 17:12:18 PST 2010


As an admin you can log in as them without a password, but the important thing is your syntax:

NO: p4 -u someuser login
YES: p4 login someuser

With the latter it shouldn't prompt for a password and should create a ticket.

Then the revert is a little tricky, you have to specify everything on the commandline:

p4 -u <user> -c <client> -H <host> revert -k <file(s)>

Just to keep my tickets listing kind of short, I log out after I'm done, which goes back to the original syntax:

p4 -u someuser logout

This may not work on older servers, especially ones that were out prior to ticketed authentication, of course.


-Matt


On 01/18/2010 04:52 PM, Rick Macdonald wrote:


Even as a user with "super" permissions, I cannot seen to revert files
for another user unless I know their password. The only way I know of is
to delete the clientspec of the open file. Is there some trick I have
missed?

Rick
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com<mailto:perforce-user at perforce.com>
http://maillist.perforce.com/mailman/listinfo/perforce-user


More information about the perforce-user mailing list