[p4] Branching questions

Steven W. Orr steveo at syslang.net
Mon Jun 19 06:50:11 PDT 2006


I'm trying to develop methodolgies and I have a branching strategy 
question.

I have been handed a repository that, for the sake of discussion, has a 
misorganized main branch, and the powers that be want the directory 
structure redone. I am doing this by creating a branch spec and creating 
what will be a new main. After I'm done, everything in the old main will 
be in newmain and that newmain branch will be utilized like it really 
is main.

My question has to do with use of client specs vs. branchspecs. Once I'm 
done creating the newmain branch, I can create a workspace which will be 
based on a simple default client spec.

newmain/... -> ...

The alternative would be for everyone going forward to use more complex 
client specs that perform the mappings that the branchspec would do just 
once. Is there some sort of expressed wisdom somewhere that suggests when 
it is more appropriater to use a branchspec to create a fully populated 
branch for a group of developers instead of giving the developers an 
example client spec that, while more complicated, would end up with the 
branch only containing versions that are different from whence they came?

Does this question make sense?

TIA

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net


More information about the perforce-user mailing list