yes, it sort of figured out.
part of the output is shown as follows

rbt diff --debug

>>> Running: git -c core.quotepath=false diff --no-color --no-prefix -r -u 
--no-ext-diff 
ad717acd80c3467c29301325cb2ba15881053bab..d398d171c3f51206aa82f6c3a2d884f0cb603560
>>> Running: git svn find-rev ad717acd80c3467c29301325cb2ba15881053bab
Index: src/kernel_patches/CVEs/CVE-2016-0723.patch
===================================================================
--- src/kernel_patches/CVEs/CVE-2016-0723.patch (revision 0)
+++ src/kernel_patches/CVEs/CVE-2016-0723.patch (revision 0)

but unfortunately, I guess it is because of the setup, in the review board 
side, it needs the following type of diff

Index:  /<project>/trunk/src/kernel_patches/CVEs/CVE-2016-0723.patch
===================================================================
--- /<project>/trunk/src/kernel_patches/CVEs/CVE-2016-0723.patch (revision 
0)
+++ /<project>/trunk/src/kernel_patches/CVEs/CVE-2016-0723.patch (revision 
0)

note that there is a prefix is needed in the path.

I suspect it is a config error but not sure. Basically I am a newbie to 
git-svn and reviewboard, usually I am using git/gerrit. (this is why I try 
to use git-svn...)

btw, I use the following cmd to init the git-svn local repo
git svn init --username="username" --trunk='trunk' 
http://abc.com:8080/svn/svnroot/<project>/

any suggestions?


On Monday, August 8, 2016 at 7:46:04 PM UTC-7, David Trowbridge wrote:
>
> Hi,
>
> rbt should be figuring out that it's a git-svn clone and doing the right 
> thing. Can you run with --debug and send us the output?
>
> -David
>
> On Mon, Aug 8, 2016 at 7:45 PM <dave...@gmail.com <javascript:>> wrote:
>
>> In my setup, I have a local git which is accessing the remote svn through 
>> git svn.
>> if I use rbt diff, the diff is git format, does not have 
>> /<project>/trunk/ prefix, which results that the remote server cannot apply 
>> the patch by rbt patch.
>>
>> I suspect I am using it wrong, but anyone can shield some lights on it?
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to