As a work around, you could check in version 0 to 1 as an empty file,
then check it back out and put in your actual code and then do the
post review.

On Oct 30, 4:32 am, jianquan <bianjianq...@gmail.com> wrote:
> hi All
> I need to review the first version file in ClearCase, for example
> I have a file and just add it to ClearCase.
> check the ClearCase history, there is version of main\0 , main\1.
> So, if you use cleartool  get -to  to filename@@\main\0, the file is
> empty.
> when you generate the diff view, it can not display the result.
> the diff is full file of first version (main\1)
> it can not generate the new file at line 346
>
> The patch to 'M:/autouser_view8\QA\WhiteBox\WBTestRegressionWeb\src\com
> \ebay\qa\regression\task\SilkTrainRegressionCreateTestSetTask.java'
> didn't apply cleanly. The temporary files have been left in 'c:\temp
> \1\reviewboard.lkyi6h' for debugging purposes. `patch` returned:
> patching file c:\temp\1\reviewboard.lkyi6h\tmprrenez patch
> unexpectedly ends in middle of line patch: **** malformed patch at
> line 69:
>
> Traceback (most recent call last):
>   File "C:\workspace\ReviewBoardServer\reviewboard\diffviewer
> \views.py", line 152, in view_diff
>   File "C:\workspace\python\ReviewBoardServer\reviewboard\diffviewer
> \diffutils.py", line 624, in get_diff_files
>     large_data=True)
>   File "c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
> \util\misc.py", line 144, in cache_memoize
>     data = lookup_callable()
>   File "C:\workspace\python\ReviewBoardServer\reviewboard\diffviewer
> \diffutils.py", line 623, in <lambda>
>     enable_syntax_highlighting),
>   File "C:\workspace\python\ReviewBoardServer\reviewboard\diffviewer
> \diffutils.py", line 346, in get_chunks
>     new = get_patched_file(old, filediff)
>   File "C:\workspace\python\ReviewBoardServer\reviewboard\diffviewer
> \diffutils.py", line 260, in get_patched_file
>     return patch(filediff.diff, buffer, filediff.dest_file)
>   File "C:\workspace\python\ReviewBoardServer\reviewboard\diffviewer
> \diffutils.py", line 129, in patch
>     (filename, tempdir, patch_output))
> Exception: The patch to 'M:/autouser_view8\QA\WhiteBox
> \WBTestRegressionWeb\src\com\ebay\qa\regression\task
> \SilkTrainRegressionCreateTestSetTask.java' didn't apply cleanly. The
> temporary files have been left in 'c:\temp\1\reviewboard.lkyi6h' for
> debugging purposes.
> `patch` returned: patching file c:\temp\1\reviewboard.lkyi6h\tmprrenez
> patch unexpectedly ends in middle of line
> patch: **** malformed patch at line 69:
--~--~---------~--~----~------------~-------~--~----~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to