[p4] Multiple Branch management
Andrew Reynolds
Andrew.Reynolds at Reardencommerce.com
Wed Jun 20 16:53:36 PDT 2007
It is an undocumented feature. Check out 'p4 help undoc' for the
details.
Andrew
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Rob Cecil
Sent: Wednesday, June 20, 2007 2:28 PM
To: Michael Graff
Cc: perforce-user at perforce.com
Subject: Re: [p4] Multiple Branch management
Thanks! I think that is what I need. Funny, this is not in the p4 guide.
:)
-----Original Message-----
From: michael.graff at gmail.com [mailto:michael.graff at gmail.com] On Behalf
Of Michael Graff
Sent: Wednesday, June 20, 2007 2:55 PM
To: Rob Cecil
Cc: perforce-user at perforce.com
Subject: Re: [p4] Multiple Branch management
Back in the day, I had a script that used p4 integ -n, p4 changes, and
awk to get this sort of report. Nowadays, "p4 interchanges" does it
much more easily.
One quirk I discovered with p4 interchanges is that files with
multiple unmerged revisions ending in a delete don't show up in the
report. Files with just an unmerged delete do show up.
You can use some of the "p4 help usage" flags to run a report
anywhere. For example, if you have a template for creating the parent
workspace and a branchspec for the child, you can do something like
this:
p4 -c parent-master -H master interchanges -b child-branch
-c is the client workspace template
-H is the hostname for that workspace
-b is the branchspec
Depending on the direction of your branchspec, you may need to add the
-r flag to the end.
On 6/20/07, Rob Cecil <RCecil at erain.com> wrote:
> I have two branches that I'd like to be able to daily report on
> regarding the integration status - if any files have been checked in
> one, they need to be integrated into the other, and vice versa.
> Basically a "P4BranchDiff" report that will report back to the
> changelists that created the changes.
>
>
>
> I'm thinking something similar to what is alluded to here:
>
>
>
>
http://maillist.perforce.com/pipermail/perforce-user/2003-September/0115
> 10.html
>
>
>
> But I cannot find this script under jgrills.
>
>
>
> Thanks for your help!
>
> Rob
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
_______________________________________________
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