Perforce ClientSpec
Working for a startup, when you use a tool or technology once and you instantly become an expert. One of my many invisible hats at my current employer is apparently the Perforce Guy. As the Perforce expert in my team, yesterday I got a distress email from a junior team member that tried to sync with Perforce but was unable to. They sent me a screen shot of every dialog box, error message, environment variable, and perforce IP address, etc. After looking at the status bar of Perforce I figured out the problem, here is my reply…
When you sync you get a message in the Perforce status bar that reads “Client ‘xp-laptop’ can only be used from host ‘wxp-ibmt4502.’ From this message I gathered that you are NOT trying to sync from your laptop. In Perforce you need two things, a username and a client spec. Your client spec is xp-laptop. Your username can own and use different client specs, but each client spec can be associated to one physical machine.
So, the client spec xp-laptop can only be used in the machine named wxp-ibmt4502. If you are using a different machine you need to create a new client spec for that machine. If you renamed your machine, update your current client spec with the new machine name
Technorati Tags: perforce, clientspec