Am 26.02.2012, 20:30 Uhr, schrieb Rahul Sharma <rahulveera2...@gmail.com>:

Hi,
I am trying to upload my .diff file on the reviewboard through the web UI
for reviewboard, but I am getting error.
It always says that the file I uploaded is not .diff file even I am
uploading the file of the .diff extension.

Any suggestions??

The reviewboard is pretty picky about diffs.
Create them using "git diff <hash>" of "git format-patch <hash>", eg
git format-patch HEAD~3
will create diffs for the 3 latest commits
while
git diff HEAD~2
will create one patch against the branch as it was two commits ago.

The reviewboard will also reject diffs against hashes it doesn't know (because they only exist in your local branch) - for this purpose you can create a diff agains a common hash and supply that as parenting patch.


Cheers,
Thomas

Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to