[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Uploading .diff files on reviewboard
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2012-02-26 20:48:02
Message-ID: op.waaz2cut9bmiid () localhost ! localdomain
[Download RAW message or body]

Am 26.02.2012, 20:30 Uhr, schrieb Rahul Sharma <rahulveera2009@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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic