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

Rafael Teixeira monoman at gmail.com
Fri Mar 25 10:29:42 EST 2005


I didn't knew of module svn-tools at our svn repo! :|

Yes svnci does a bit more, but obviously I would have to substitute
gedit for vi as an editor, and also taylor it a bit to fit my needs
better ...

I'll get it a spin, and if I like it all change my simios.org article
to recommend it instead of my small alias.

Thanks,


On Thu, 24 Mar 2005 16:09:10 -0500, Ben Maurer <bmaurer at ximian.com> wrote:
> 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
> 
> 


-- 
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