When I say "get latest" I'm referring to the "Get Latest Revision" option
in P4V. I don't use p4 directly, so I'm not sure what command it maps to.

Right click in your workspace view on the folder you want to get latest
changes, and click "Get Latest Revision". This will pull down the latest
changes in perforce to files.

Your description is almost right. I've corrected it below:

You have a changelist with some code in it. You sync, new changes are
pulled in. You *re-*post the *existing* changeset to Review Board, and the
diff is including the things that came from the sync?

This is absolutely correct. Note that I'm only working with 1 changelist. I
update my existing review with the same changelist a second time, and any
updates pulled from the perforce server (that other people made) will
appear in the diff on Review Board. Also please note that all I'm doing is
running the post-review command twice:

1) Create a new changelist, modify some source code
2) Use that post-review command to create a new review on Review Board.
3) Run "Get Latest Revision" in P4V to pull down latest source code
changes. Files previously put up for review are modified by the sync. I
resolve any conflicts and make more changes to the source files.
4) Run the same post-review command a second time, same one as before, same
changelist number
5) View the diff online at Review Board server, and do a diff between r1
and r2, in this diff I see the changes I made in r2 as well as the diff for
code changes pulled down from the Perforce server (those are the changes I
did not make).

Hope this makes more sense.

Is this a problem with post-review, or am I simply not running the right
commands?

On Sun, May 13, 2012 at 5:48 PM, Christian Hammond <chip...@chipx86.com>wrote:

> Hi Robert,
>
> Sorry for the late reply. I've been on vacation.
>
> I'm not sure I'm fully understanding the problem you're hitting. Let me
> see if I have this right. You have a changelist with some code in it. You
> sync, new changes are pulled in. You post the new changeset to Review
> Board, and the diff is including the things that came from the sync?
>
> I've never seen this behavior, and use Review Board with Perforce almost
> daily. Posting a new review request *should* include only what changed for
> those files.
>
> When you say a "get latest", is this 'p4 sync', or something else?
>
> This sounds like this is a client-side problem, where the changes aren't
> resolved properly or the metadata isn't being updated properly, causing the
> revision for the files to be incorrect.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, May 7, 2012 at 8:39 AM, Robert Dailey <rcdailey.li...@gmail.com>wrote:
>
>> Can someone help me out here?
>>
>>
>> On Wed, May 2, 2012 at 1:37 PM, Robert Dailey 
>> <rcdailey.li...@gmail.com>wrote:
>>
>>> So I'm using Perforce and I upload my initial reviews (as well as follow
>>> up changes and updates) using this command. Note that this is a "Custom
>>> Tool" in P4V:
>>>
>>> %C --server=http://reviewboard.company.com --p4-client=$c --p4-port=$p
>>> --username=user --password=password
>>>
>>> %C is the changelist number in Perforce
>>> $c is the current workspace
>>> $p is the current port
>>>
>>> The problem I'm experiencing is updates to code in my changelist being
>>> included in my diffs in reviewboard. So suppose I have files checked out in
>>> my changelist. If I do a "get latest" from Perforce, and some of those
>>> checked out files get changed, and I resolve conflicts, those updates I
>>> pulled down will now show up in my diff. Reviewboard should not be showing
>>> these changes in my diff, in other words, Reviewboard needs to use the
>>> latest base of each file when diffing, which it does not. It continues to
>>> use the same revisions of the files that it originally used when the review
>>> was first created.
>>>
>>> Is there a fix for this?
>>>
>>
>>  --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to