Issue 635: post-review cannot deal with files not in current version of  
repository, when using --revision-range

New issue report by marcin.brodziak:
*NOTE: Do not post confidential information in this bug report.*

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Submit file A to repository (call it revision X)
2. In one change submit file B and delete file A (call it revision Y)
3. Now do post-review --revision-range X:Y

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

I diff to be correctly uploaded. Script fails on doing svn info for
non-existing file A.

Traceback (most recent call last):
   File "/home/marcin/bin/post-review", line 1590, in ?
   File "/home/marcin/bin/post-review", line 1558, in main
     diff = tool.diff_between_revisions(options.revision_range)
   File "/home/marcin/bin/post-review", line 640, in diff_between_revisions
     return self.do_diff(["svn", "diff", "--diff-cmd=diff", "-r",
   File "/home/marcin/bin/post-review", line 650, in do_diff
     diff = self.convert_to_absolute_paths(diff)
   File "/home/marcin/bin/post-review", line 712, in  
     url  = info["URL"]
KeyError: 'URL'

What operating system are you using? What browser?

Ubuntu HH.

Please provide any additional information below.

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

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:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to