Comment #1 on issue 2184 by yuzi...@gmail.com: Mercurial rename support: Pure file renames with *no actual changes* to the file fails with "Diff did not apply cleanly"
http://code.google.com/p/reviewboard/issues/detail?id=2184

In comparison, the following WORKS PERFECTLY

1. hg mv OLD_FILENAME NEW_FILENAME
2. vim NEW_FILENAME
3. (make some changes to the file)
4. hg commit -m "Rename a file without changing it"
5. hg export -g `hg parent --template '{node}'` > my_patch.diff
6. Log in to reviewboard
7. Create a review and upload this patch to reviewboard
8. Open your newly created review
9. Click [View Diff]

This works as expected. The only difference is whether you modify the file after renaming it or not. It seems that patch just has trouble applying empty patches.


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