[Mono-devel-list] Just something the lazy me cooked to help committing to svn

Rafael Teixeira monoman at gmail.com
Thu Mar 24 15:53:35 EST 2005


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.

Enjoy,


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!



More information about the Mono-devel-list mailing list