I'm guessing from your other email that you're at VMware. In that case, the
branch name is parsed out of the changeset description using some custom
code (which includes the "merge to" lines). Perforce generally does not
force a //depot/branch/project layout, so it's not something that we at
Review Board can assume.
It's also not guaranteed that a patch which is posted for review won't
touch multiple "projects", or even multiple "branches" given that layout.
I'd suggest downloading the patch, checking the file names within, and
using that to figure out what needs to be synced (theoretically you'd
already need to do that to get the version of each file to patch).
On Sun, Oct 4, 2015 at 8:06 AM Yair Yogev <prog...@gmail.com> wrote:
> I'm using the jenkins-reviewbot plugin to fetch reviews of a specific
> project, apply the review diff, run tests and post the result in
> The problem is that we can only fetch reviews by perforce server
> (repository) and branch, but the project name isn't stored in any review
> Is there a reason for that? it seems that for perforce, rbtools could fill
> the project just as it fills the branch name*.
> * I'm assuming the project name is always the level above the branch (is
> that wrong? i know that for svn it can be different)
> Supercharge your Review Board with Power Pack:
> Want us to host Review Board for you? Check out RBCommons:
> Happy user? Let us know! https://www.reviewboard.org/users/
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.