[p4] Branch Names
Sweeney, Tony
sweeney at ea.com
Thu Oct 26 09:21:25 PDT 2006
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of
> Vineet Venugopal
> Sent: 26 October 2006 15:44
> To: perforce-user at perforce.com
> Subject: [p4] Branch Names
>
> Hi ,
>
> A simple question
>
> 1. Can the perforce - rename strategy as mentioned in the cmd
> ref guide be used to rename a branch from say oldbranch to newbranch?
Yes.
>
> 2. Also once the branch is renamed to newbranch can I
> recreate oldbranch using a totally different branch spec?
Yes[*].
>
> Coming from a clearcase background , I was able to do these
> operations easily, so if these are operations that are
> shunned by the perforce world , please let me know.
[*]"That way lies madness." Unless you have a compelling reason to
reuse the oldbranch namespace, don't. Further, it sounds like you're
trying to implement a codeline promotion model (dev->test->qa->rel).
While you can do this in Perforce, it isn't necessary, desirable, or a
natural fit with Perforce's branch and integration model. You're
supposed to integrate changes from branch to branch, not branches from
place to place.
Tony.
quis custodiet ipsos custodes -- Juvenal VI, 347-8
>
> Thanks
> vineet
> _______________________________________________
> 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