Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1161 by ssylvis: post-review fails when specified target file  
cannot be found in revision
http://code.google.com/p/reviewboard/issues/detail?id=1161

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.j...@9', '[URL]/path/file.j...@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.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to