Comment #2 on issue 2392 by atag...@gmail.com: post-review warning when svn files are out of date
http://code.google.com/p/reviewboard/issues/detail?id=2392

Hmmm, in reading over the ticket again it sounds like the leading theory was that the user...

- Had their local copy at r2454.

- Added a new file and checked that in. Evidently svn commit doesn't issue a sync so their local copy was still at r2454 and the remote was r2455. Here's an article describing svn's mixed revisions...
http://markphip.blogspot.com/2006/12/mixed-revision-working-copies.html

- They made another edit where they deleted the file they just committed and ran post-review, getting something like...

user@host] post-review
Error uploading diff: The file was not found in the repository (207)
Your review request still exists, but the diff is not attached.

user@host] post-review -d
...
Review request created
Uploading diff, size: 5803
HTTP POSTing to https://cr.myhost.com/api/json/reviewrequests/2864/diff/new/: {'basedir': '/svn/path/to/repo'}
Error uploading diff: The file was not found in the repository (207)
{u'stat': u'fail', u'file': u'/svn/path/to/repo/types/OrderItem.java', u'err': {u'msg': u'The file was not found in the repository', u'code': 207}, u'revision': u'2454'}
Your review request still exists, but the diff is not attached.

... which makes sense. The file didn't exist in r2454.

- In trying to figure out the issue they probably ran svn update, bringing the local copy to r2455 after which post-review ran just fine.

Sorry about the confusion - hopefully this makes more sense. :)

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to