The version of diff it's using is not GNU diff. It sounds like it's some
other diff tool, possibly from collabnet or Tortoise SVN. You need exactly
GNU diff.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Aug 6, 2012 at 3:25 AM, Vijay Kumar Tiwary
<vijayktiw...@gmail.com>wrote:

> Hi ,
> As a workaround I guess ... I have put all the diff exe to the folder
> where I have installed post-review . Then this error goes off .Now I am
> getting another error.
>  if i give command like post-review --server http:\\10.117.8.9  --debug ,i
> am getting following error
>
> >>> RBTools 0.4.1
> >>> Home = C:\Users\vtiwary\AppData\Roaming
> >>> HTTP GETting api/
> >>> HTTP GETting http://10.117.8.9/api/info/
> >>> Using the new web API
> Failed to execute command: ['svn', 'diff', '--diff-cmd=diff']
> ['Index: .\n',
> '================================================================
> ===\n', '--- .\t(revision 206)\n', '+++ .\t(working copy)\n', '\n',
> 'Property ch
> anges on: .\n',
> '_______________________________________________________________
> ____\n', 'Added: reviewboard:url\n', '## -0,0 +1 ##\n', '+
> http://10.117.2.8\n',
> '\\ No newline at end of property\n', 'Index: IMessageCallback.cs\n',
> '=========
> ==========================================================\n', 'Usage:
> diff [OPT
> IONS] <file1> <file2>\n', '\n', 'Display the differences between <file1>
> and <fi
> le2> in unified diff\n', "format.  OPTIONS are diff extensions as
> described by '
> svn help diff'.\n", "Use '--' alone to indicate that no more options
> follow.\n",
>  "svn: E200012: 'diff' returned 2\n"]
>
> How can i get rid of this error .
>
> Thanks
> Vijay
>
>
> On Monday, 6 August 2012 15:51:33 UTC+5:30, Vijay Kumar Tiwary wrote:
>>
>> Hi ,
>> Following is the output  diff --version.
>>
>> Usage: diff [OPTIONS] <file1> <file2>
>>
>> Display the differences between <file1> and <file2> in unified diff
>> format.  OPTIONS are diff extensions as described by 'svn help diff'.
>> Use '--' alone to indicate that no more options follow.
>>
>> Regards
>> Vijay
>>
>> On Monday, 6 August 2012 12:52:54 UTC+5:30, Christian Hammond wrote:
>>>
>>> Can you run diff --version and show me the output?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chip...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Sun, Aug 5, 2012 at 11:49 PM, Vijay Kumar Tiwary <
>>> vijayktiw...@gmail.com> wrote:
>>>
>>>> Hi Christian,
>>>> Thanks for the reply . I an getting following error when i typed
>>>> post-review in cmd
>>>>
>>>>
>>>> "GNU diff is required for Subversion repositories. Make sure it is
>>>> installed
>>>> and in the path.
>>>>
>>>> On Windows, you can install this from:
>>>> http://gnuwin32.sourceforge.**net/packages/diffutils.htm<http://gnuwin32.sourceforge.net/packages/diffutils.htm>
>>>> "
>>>>
>>>> I have already installed GNU Diff and set in the Path .
>>>>
>>>> For your information,I have also installed both Tortoise SVN as well as
>>>> collabnet subversion client .
>>>>
>>>>
>>>> Please suggest how to proceed further.
>>>>
>>>>
>>>>
>>>> Regards
>>>> Vijay
>>>>
>>>>
>>>> On Saturday, 4 August 2012 00:29:03 UTC+5:30, Christian Hammond wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Can you describe to me how GNU diff isn't working? What are you seeing?
>>>>>
>>>>> Christian
>>>>>
>>>>>
>>>>>
>>>>> On Aug 3, 2012, at 2:50, Vijay Kumar Tiwary <vijayktiw...@gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hi ,
>>>>> I was trying to use post-review filename but I get following error
>>>>> always :
>>>>>
>>>>> "GNU diff is required for Subversion repositories. Make sure it is
>>>>> installed
>>>>> and in the path.
>>>>> On Windows, you can install this from:
>>>>> http://gnuwin32.sourceforge.**ne**t/packages/diffutils.htm"d<http://gnuwin32.sourceforge.net/packages/diffutils.htm%22d>
>>>>>
>>>>> I have installed GNU Diff and even post-review installation seems to
>>>>> work but some how GNU diff is not working.
>>>>>
>>>>>
>>>>> i debuged and type following command SVN info and it is giving me the
>>>>> configured SVN repo browser value
>>>>>
>>>>> Please suggest how to configure .
>>>>>
>>>>>
>>>>> For your information I setup Review Board on Linux machine and
>>>>> configured SVN which is hosted on Windows machine . I am using my Windows
>>>>> client machine to use review board and trying to post review but 
>>>>> apparently
>>>>> got stuck with GNU diff ...Please help me to come out from here !!!
>>>>>
>>>>> Regards
>>>>> Vijay
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Want to help the Review Board project? Donate today at
>>>>> http://www.reviewboard.org/**don**ate/<http://www.reviewboard.org/donate/>
>>>>> Happy user? Let us know at 
>>>>> http://www.reviewboard.org/**use**rs/<http://www.reviewboard.org/users/>
>>>>> -~----------~----~----~----~--****----~----~------~--~---
>>>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@
>>>>> **google**groups.com <reviewboard+unsubscr...@googlegroups.com>
>>>>> For more options, visit this group at http://groups.google.com/**group
>>>>> **/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>>>>
>>>>>  --
>>>> Want to help the Review Board project? Donate today at
>>>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/>
>>>> Happy user? Let us know at 
>>>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/>
>>>> -~----------~----~----~----~--**----~----~------~--~---
>>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@*
>>>> *googlegroups.com <reviewboard%2bunsubscr...@googlegroups.com>
>>>> For more options, visit this group at http://groups.google.com/**
>>>> group/reviewboard?hl=en<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