Hi, all.
    I am doing migration of reviewboard from one machine to another.
    We had installed a new reviewboard the other machine ,and then
backup mysql database into this machine mysql.
   From source machine, do:
./mysqldump -uroot  -h 127.0.0.1 -P 3309 --default-character-set=utf8 -
B reviewboard >mysql_reviewboard.sq
 And then at the destinate machine:
   mysql -uroot -h 127.0.0.1 reviewboard < /home/review_board/bin/
mysql/bin/mysql_reviewboard.sql
   After some configuration, The reviewboard on the other machine can
be access then( We had change the destinate machine IP the same with
source machine IP)
   But when We want to open the "view diff " page, It always report
the like:
--------------------------------------------------------------
Traceback (most recent call last):
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/views.py", line
153, in view_diff
    interdiffset, highlighting, True)
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/diffutils.py",
line 623, in get_diff_files
    large_data=True)
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
Djblets-0.5.9-py2.5.egg/djblets/util/misc.py", line 166, in
cache_memoize
    data = lookup_callable()
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/diffutils.py",
line 622, in <lambda>
    enable_syntax_highlighting),
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/diffutils.py",
line 345, in get_chunks
    new = get_patched_file(old, filediff)
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/diffutils.py",
line 261, in get_patched_file
    return patch(filediff.diff, buffer, filediff.dest_file)
  File "/home/review_board/bin/python/lib/python2.5/site-packages/
ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/diffviewer/diffutils.py",
line 129, in patch
    (filename, tempdir, patch_output))
Exception: The patch to 'test.c' didn't apply cleanly. The temporary
files have been left in '/tmp/reviewboard.455uwf' for debugging
purposes.
`patch` returned: patching file /tmp/reviewboard.455uwf/tmpeddSyU
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/reviewboard.
455uwf/tmpeddSyU-new.rej
-----------------------------------------------------------------

New added file has no such problem, It occures only on "patch" needed
"diff views" page; I don't know why, What is the reason for this? And
how to avoid this?


Best Regards!

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to