Tuesday, August 30, 2005

Geek - Useless Perforce Error

In my work existence, I support the Perforce Source Code Management (SCM) tool. Occasionally, I find examples of error messages in Perforce that tell you nothing about what is wrong. I will try to enumerate those here as I find them.

  • must sync before integrating — One occasion that this message shows up, is when the user is attempting to branch a file, but both the source and destination depot locations are mapped by the client spec to the same client location. This creates a name collision, hence the error. Obviously, this can only happen in a client spec using plus mappings. The solution is to either temporarily remove one of the mappings, or to have a reserved "branching" client spec sitting around that you use just for these kinds of occasions. The branching client would contain a single mapping //depot/... //client/... and be free from collision issues.

Labels:

3Comments:

At Tuesday, September 4, 2007 8:07:00 PM MDT, Anonymous Anonymoussaid...

This was useful for me today! Thanks :)

 
At Tuesday, October 16, 2007 10:55:00 AM MDT, Anonymous Kiransaid...

You probably saved me a whole hour today. :)

 
At Friday, July 25, 2008 3:17:00 PM MDT, Anonymous Anonymoussaid...

I was so confused until I found this post via Google. Thanks a million!

 

Post a Comment

Links to this post:

Create a Link

<< Home