On Aug 19, 2004, at 07:15, Andreas Axelsson wrote:
Hi all,
I have a number of clientspecs that are not used anymore. They refer to
computers no longer used and projects that have been shipped and
depricated. I would like to keep the clientspecs, but I don't want
db.have to refer to any files, as they for most part don't exist on the
client disk any longer. (There's no client disk at all) The users still
exist though.
I suppose submitting the client specs to the depot and deleting the
clients would do the trick, but can it be done any other way, without
deleting the clients?
p4 flush //...#none
You'll need -c to specify the clientspec, and you might need -H to
spoof the hostname:
p4 -H deadhost -c axl-deadhost flush //...#none
You can also get rid of a host specifier in the clientspec by going:
p4 client -o axl-deadhost | sed '/^Host:/d' | p4 client -i
(On UNIX or something like it).
If your db.have is very large then you may need to recreate from a
checkpoint.