[p4] [P4] Remaking a branch.

Paul-Marc Bougharios paulmarc.bougharios at gmail.com
Thu Aug 20 14:26:07 PDT 2009

Hi Justin,

I think that after deleting the whole branch, the only "haunting" issue you
might encounter is with future integrations.
But I don't think your codeline will have any "past" changes, affecting your
current branch.

The issue with integration is that first, to re-integrate the branch, you
have to bypass the delete revision [integrate -d].
Then, in subsequent integration, you will be needing the (-d) argument to
delete obsolete files, and re-add "undeleted" ones.

The only problem I see here is the need to always integrate around delete

May I ask why you wouldn't consider obliterating the branch?

Paul-Marc Bougharios

On Thu, Aug 20, 2009 at 8:02 PM, Justin <nockmss at gmail.com> wrote:

> Hi there, I have a question regarding "remaking" an existing branch and
> hope
> to get some help.
> Let's say I have two branches, where DEV is originally branched from MAIN.
> //depot/MAIN/...
> //depot/DEV/...
> The work done in DEV contains lots of changes but is no longer useful to
> us.
> Basically we want to start DEV all over again as a fresh branch from MAIN,
> but without obliterating DEV.
> So far, I've deleted DEV by executing 'p4 delete //depot/DEV/...'. Was that
> a mistake? What should I do next? I'm thinking of integrating MAIN->DEV
> next.
> My main question, is whether there's scope for unresolved changes existing
> in MAIN or DEV which will haunt future integrations between the branches,
> silently causing problems down the road. Am I being too paranoid there?
> Thanks,
> Justin
> _______________________________________________
> 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