Using git-svn with review board?

Sebastian Kuegler sebas at kde.org
Tue Mar 18 13:08:46 CET 2008


Semi-offtopic, but since some people here are actually using git (and git-svn, 
I'm looking at you ruphy) I thought I'd post this question here:

While hacking, I very much enjoy git's easy branching, merging and keeping 
track of multiple incomplete changesets.

When I'm trying to integrate patches, however, I run into problems.

The main one being that git-diff produces patches as:

--- a/workspace/plasma/applets/battery/README.txt
+++ b/workspace/plasma/applets/battery/README.txt

while svn wants:

--- workspace/plasma/containments/desktop/desktop.cpp   (revision 786974)
+++ workspace/plasma/containments/desktop/desktop.cpp   (working copy)

For example. And review board doesn't eat those. It complains that the path is 
not correct (and I cannot work around it by just adding a ../ at the end of 
the path I've got to put into review board.) I didn't find a way to have git 
produce the right kind of patch for me. That makes using review board a real 
pain in the ass, as in git-diff, patch an svn tree, run svn diff, put that 
patch into review board.

I can imagine that this forms a real barrier for some (me), but maybe someone 
has already solved that?

Thanks for your help,
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080318/b131db7b/attachment.pgp 


More information about the Panel-devel mailing list