Comment #2 on issue 2619 by rajen...@gmail.com: Using snapshot view, Error was occurred from Diff viewer. (clear case and post-reivew)
http://code.google.com/p/reviewboard/issues/detail?id=2619

I modify post-review source. (clearcase.py > def diff_file )

if self.viewtype == "snapshot":
            str_post_fix = ".reviewboard_temp"
            old_temp_file = new_file + str_post_fix
            get_cmd = ["cleartool", "get", "-to",old_temp_file, old_file]
            execute(get_cmd, extra_ignore_errors=(1, 2),
                         translate_newlines=False)

            diff_cmd = ["diff", "-uN", old_temp_file, new_file]
            dl = execute(diff_cmd, extra_ignore_errors=(1, 2),
                         translate_newlines=False)
            dl = dl.replace(str_post_fix,'')



--
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