[p4] Cannot delete user
Weintraub, David
david.weintraub at bofasecurities.com
Fri Oct 6 08:51:56 PDT 2006
The user doesn't have a pending changelist number. Instead, it is his
default changelist that has an opened file, and "p4 changes" won't
report that.
Try "p4 opened -a" and filter for the User ID. It will report
"<user>@<client>", so you know the name of the client that has the
opened file. You can then delete the clients with the opened files. This
will close the files, then you'll be able to delete the user.
I have a trigger that forces users to begin all of their clients with
"<userId>-". When a user leaves, I delete all clients that begin with
that user's ID, then I delete the user from all groups, then I delete
the user themselves.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Marshall, Tony
[CIB-IT]
Sent: Friday, October 06, 2006 10:15 AM
To: perforce-user at perforce.com
Subject: [p4] Cannot delete user
I want to delete a user from Perforce, but Perforce reports that the
user has opened files. However, it also reports no pending changes for
the user.
e.g.
> p4 user -d -f <user>
User <user> has file(s) open on 1 client(s) and can't be deleted.
> p4 changes -s pending -u pg50976
(no pending changes displayed)
So how do I delete the user?
Tony
_______________________________________________
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