[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Using git-svn with review board?
From: Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date: 2008-03-18 14:45:27
Message-ID: 47DFD587.2060706 () student ! tue ! nl
[Download RAW message or body]
Sebastian Kuegler wrote:
> I can imagine that this forms a real barrier for some (me), but maybe someone
> has already solved that?
>
I'm using this small shell-script to generate a diff between the current
working copy and HEAD that review-board will accept with git-svn. This
does assume that HEAD is actually an svn revision, I don't think it will
work when you have already comitted changes locally.
#!/bin/sh
REV=`git-svn find-rev HEAD`
git-diff --no-prefix $* HEAD | sed -e 's/^+++ .*/& (working copy)/' -e
"s/^--- .*/& (revision $REV)/"
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic