Thanks Shaoyan for your response.

If I create a unified diff file using svn diff and then upload via post 
review or Review Board web UI it works fine. 

I have created a script that creates the unified diff, uploads via post 
review, and then opens the web UI.

I am also looking at updating the post review script to create a unified 
diff for subversion.

Regards,

Rob


On Thursday, August 16, 2012 11:09:50 AM UTC+1, Shaoyan Huang wrote:
>
> I think the problem is caused by svn 1.7.x. It output some extra 
> information for "svn diff" and cause ReviewBoard to raise FileNotFound 
> exception.
>
> It's ok if you use TSVN 1.7.x to generate patch and submit by Web UI.
>
> Shaoyan Huang
>
> On Thursday, August 16, 2012 4:44:29 PM UTC+8, Rob wrote:
>>
>> Hi Christian,
>>
>> Thanks for getting back to me.
>>
>> The output I gave was from a post commit, but I did try pre-commit and 
>> the same error occurred.
>>
>> I have looked at repository path in Review Board and it points to the 
>> root of our Subvversion repository. We also have a mirror path that points 
>> to a sub directory inside it.
>>
>> Regards,
>>
>> Rob
>>
>> On Thursday, August 16, 2012 3:51:57 AM UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> Is the error output that you provided from the attempts before 
>>> committing the file, or after? I ask because it seems to be specifying an 
>>> explicit revision.
>>>
>>> Can you also tell me if the repository path in Review Board points to 
>>> the very base of the SVN repository, or to a subdirectory inside it? It 
>>> should be the root, and problems like these can occur if not.
>>>
>>> Christian
>>>
>>>
>>> On Aug 15, 2012, at 13:06, Rob <robert...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I have an issue with Review Board uploading a differences file that has 
>>> a new source file in it (no previous history). 
>>>  
>>> These are the steps I followed;
>>>  
>>> I created a file and added it using TortoiseSvn but not committed.
>>> I then opened a command prompt and entered the text "post-review -d -r19"
>>> The following error occurred
>>> ">>> Got API Error 207 (HTTP code 400): The file was not found in the 
>>> repository
>>> >>> Error data: {u'stat': u'fail', u'file', u'err': {u'msg': u'The file w
>>> as not found in the repository', u'code': 207}, u'revision': u'4026'}
>>> Error uploading diff
>>> Your review request still exists, but the diff is not attached."
>>>  
>>> The file listed as not being found in the repository is the newly added 
>>> file. I then commited the file using subversion and the same problem still 
>>> occured. I have searched for similar issues in the review board group but I 
>>> was unable to find the same symptoms.
>>>
>>> Any advice on this would be much appreciated.
>>>  
>>> Review Board version = 1.6.3
>>> RBTools Version = 0.4.1
>>> TortoiseSvn Version = 1.7.7
>>> Subversion = 1.7.5
>>>
>>> Regards,
>>>
>>> Rob
>>>
>>> -- 
>>> 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...@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