ReviewBoard/SVN: rbt post failed to execute command ['svn', 'diff', '--diff-cmd=diff', '--notice-ancestry', '-r', 'BASE'] -


i'm trying use reviewboard svn. others in office have got system setup , able post (copies of vm got working first time). i've compared system setup against theirs , things same, far can tell.

when run rbt post command get:

failed execute command: ['svn', 'diff', '--diff-cmd=diff', '--notice-ancestry ', '-r', 'base'] ['index: main.cpp\n', '========================================================= ==========\n', 'usage: diff [options] \n', '\n', 'display dif ferences between , in unified diff\n', "format. options d iff extensions described 'svn diff'.\n", "use '--' alone indicate no more options follow.\n", "svn: e200012: 'diff' returned 2\n"]

i've made svn client , gnu diff first 2 things in system path: c:\program files (x86)\gnuwin32\bin;c:\program files (x86)\collabnet

i'm running windows 8 machine.

reading https://groups.google.com/forum/#!topic/reviewboard/ylyfqmghjmm looks others have add same issue, doesn't there seems accurate explaination on how fix issue.

some detail. svn --version gives:

svn, version 1.8.9 (r1591380) compiled jun 6 2014, 03:53:07 on x86-microsoft-windows5.1.2600

copyright (c) 2014 apache software foundation. software consists of contributions made many people; see notice file more information. subversion open source software, see http://subversion.apache.org/

the following repository access (ra) modules available:

  • ra_svn : module accessing repository using svn network protocol.
    • with cyrus sasl authentication
    • handles 'svn' scheme
  • ra_local : module accessing repository on local disk.
    • handles 'file' scheme
  • ra_serf : module accessing repository via webdav protocol using serf.
    • using serf 1.3.4
    • handles 'http' scheme
    • handles 'https' scheme

diff --version gives:

diff (gnu diffutils) 2.8.7 written paul eggert, mike haertel, david hayes, richard stallman, , len tower.

copyright (c) 2004 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.

any thoughts or ideas on should check or i'm missing? i'm going post google group see if have ideas, if have solution i'll update post too.


additional troubleshooting steps tried:

i found post, tried solve problem https://subversion.open.collab.net/ds/viewmessage.do?dsforumid=4&dsmessageid=436703 . seems tortious svn might of been causing issue since installed first.

i've uninstalled tortoise , collabnet, rebooted installed collabnet first tortoise. when tortoisesvn installed did not select "command line client tools". had put gnu diff beginning of system path. after tried rbt post , got same error. modified tortoise svn install include command line client tools , tried again , still got same error message.

after frustration, figured out issue. have couple of different diff's located on machine, gnu diff diff comes collab net (which use svn).

collab net has svn.exe in directory. when doing where diff able see path , order correct, in gnu diff showed before collabnet's diff. collabnet's diff being used when running command because collab net diff in same directory collab net's svn.exe. means when os looks diff.exe check's local directory of svn.exe first, followed system path.

that being said, renaming "diff.exe" in collab net folder allow gnu diff referenced, solved problem , allowed rbt post work properly.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -