Comment #2 on issue 2256 by post-review should use -c option when calling svn diff with single rev

Not quite, you need to support both cases, where single revision is listed and where a range is listed, so something like:

        # Otherwise, perform the revision range diff using a working copy

            # use -c if single rev supplied, else -r if range supplied
            revisions = revision_range.split(':')
            if len(revisions) == 1:
return (self.do_diff(["svn", "diff", "--diff-cmd=diff", "-c",
                                 repository_info), None)
return (self.do_diff(["svn", "diff", "--diff-cmd=diff", "-r",
                                 repository_info), None)

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
For more options, visit this group at

Reply via email to