1615: Removing a file after it has been svn added causes post-review to not work

chris01********@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 29, 2014
What version are you running?
0.8

What's the URL of the page containing the problem?
internal address.

What steps will reproduce the problem?
1.  svn add a file
2. perform a  few reviews
3. remove the file from the file system
4. run post-review again

What is the expected output? What do you see instead?
A review to be posted.  

Failed to execute command: ['svn', 'diff', '--diff-cmd=diff'] 

What operating system are you using? What browser?
Mac OS 10.6.  Running post-review from command line.

Please provide any additional information below.
chipx86
#1 chipx86
Please run with -d (--debug) and attach the output. It may help determine what went
wrong.
  • +NeedInfo
#2 chris01********@gmai***** (Google Code) (Is this you? Claim this profile.)
Here's the  output (minus the company's internal data):

>>> svn info
>>> repository info: Path: svn+ssh://webdev1.boat-ed.com/home/svn/titus, Base path: /trunk, Supports 
changesets: False
>>> svn propget reviewboard:url /Users/cvandusen/vmshare/em1/em1
>>> svn diff --diff-cmd=diff
Failed to execute command: ['svn', 'diff', '--diff-cmd=diff']
.
(bunch of what looks to be unformatted svn diff output)
.
'diff: path/to/missing/file.php: No such file or directory\n', "svn: 'diff' returned 2\n"]
david
#3 david
Do you have GNU diff installed?
#4 chris01********@gmai***** (Google Code) (Is this you? Claim this profile.)
Yes:

diff (GNU diffutils) 2.8.1
#5 tim.*****@gmai***** (Google Code) (Is this you? Claim this profile.)
I am seeing the same issue using SVN 1.6.12 and GNU diff 2.8.7

On top of this error, I am also seeing the following in my debug output:
=============================
>>> svn info http://localhost:8081/EIAD/DOTNET/TakeItBackManager/trunk/
>>> diff --version
>>> repository info: Path: http://localhost:8081, Base path: /EIAD/DOTNET/TakeItBackManager/trunk, Supports changesets: False
>>> svn diff --diff-cmd=diff http://localhost:8081/EIAD/DOTNET/TakeItBackManager/trunk@17045 http://localhost:8081/EIAD/DOTNET/TakeItBackManager/trunk@17489
.....blah.....
, "svn: 'diff' returned 2\n", 'svn: Error reading spooled REPORT request response\n']
==============================

It looks as though I have 2 errors. Both seem to have to do with a file being removed and re-added in a range of changesets.
david
#6 david
  • +Component-RBTools
#7 laurent.va**********@gmai***** (Google Code) (Is this you? Claim this profile.)
Well, I have the same kind of problems with RB 0.3.3 and svn 1.6.12 ...
diff (diffutils 2.9.19-4065)


This is a blocking problem ..

david
#8 david
  • -NeedInfo
    +New
david
#9 david
I'm pretty sure that the problem here is that the file is scheduled for add and then you remove it out from under svn. Using 'svn rm' instead of just 'rm' should make everything happy again.

Theoretically, svn should handle this better.
  • -New
    +ThirdParty