2414: Windows post-review and diffutils version 2.8.7

alle****@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 8, 2011
What version are you running?
RBTools 0.3.4

What's the URL of the page containing the problem?
It's rbtools related stuff

What steps will reproduce the problem?
1.Install RBtools with python 27 on windows 7
2.Install latest diff (2.8.7)
3.run post-review -d in subverion repository


c:\repo\trunk>post-review -d
>>> RBTools 0.3.4
>>> Home = C:\Users\aderevyankin\AppData\Roaming
>>> svn info
>>> diff --version

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

_____________________________
c:\repo\trunk>diff --version
diff (GNU diffutils) 2.8.7
Written by Paul Eggert, Mike Haertel, David Hayes,
Richard Stallman, and Len Tower.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#1 alle****@gmai***** (Google Code) (Is this you? Claim this profile.)
I mean diff is installed and in the path, probably some regexp what analyses diff --verion output is not matching new version.
#2 alle****@gmai***** (Google Code) (Is this you? Claim this profile.)
Well, I found a root cause of the problem - it's my way to setup a PATH. 
if you will enter something like 
"C:\Program Files\GnuWin32\bin" instead of C:\Program Files\GnuWin32\bin (without quotes) it cause the problem. 
So I think bug is not real, but it would be nice to have this finding somewhere in wiki.
Thanks
david
#3 david
  • +SetupIssue
#4 andre******@gmai***** (Google Code) (Is this you? Claim this profile.)
I'm getting the same problem, and I didn't use quotes in my PATH. I am trying to execute the following command:

post-review --revision-range=4:33

I can run diff, sdiff, cmp, and diff3 just fine from the command prompt but post-review doesn't seem to recognize that those programs exist.
#5 houh*****@gmai***** (Google Code) (Is this you? Claim this profile.)
i fixed the issue in this way : copy all the exe files from GNU's bin fold to svn's bin fold.