1161: post-review fails when specified target file cannot be found in revision

ssy****@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 22, 2009
635
What version are you running?

CentOS 5.3
Review Board 1.0 RC2
post-review 0.8

What steps will reproduce the problem?
1. Create a new file path/File.java and commit to repository. Say this is
revision 10. Make other changes to repository if desired.
2. Call 'post-review --revision-range=9 --repository-url=[URL] path/File.java'

What is the expected output? What do you see instead?

A review request diff with only changes to the file path/File.java. Instead
you get the failure:

Failed to execute command: ['svn', 'diff', '--diff-cmd=diff',
'[URL]/path/File.java@9', '[URL]/path/File.java@10']
["svn: '[URL]/path/File.java' was not found in the repository at revision 9\n"]

Please provide any additional information below.

This is the same behavior as 'svn diff' so I'm not sure if there's a good
solution. You can use a parent directory "[URL]/path" to restrict changes
but sometimes that's not good enough.