[Mono-devel-list] Just something the lazy me cooked to help committing to svn
Ben Maurer
bmaurer at ximian.com
Thu Mar 24 16:09:10 EST 2005
On Thu, 2005-03-24 at 17:53 -0300, Rafael Teixeira wrote:
> I've put this alias definition in ~/.bashrc
>
> alias commit="(svn diff ChangeLog | grep ^+[^+] | colrm 1 1 > log) &&
> cat log && svn commit -F log && rm log"
>
> With it I just edit the changelog and call it when ready to commit the work.
> A good thing is that errors in comunication or collisions stop the
> process without further ado.
>
> Just a small gotcha, diff may present lines "out-of-order" for
> multiple sucessive entries in the same day by the same person, but
> there is no loss of information unless you start to yank things out of
> the ChangeLog.
There is a script called svnci in svn-tools for this that is only a
little bit more sane :-)
-- Ben
More information about the Mono-devel-list
mailing list