The svn commandline tool is great, but when I don’t receive a e-mail notifying me of a new commit I hardly ever read the log messages. That’s why I added an alias to my profile called svnup which does an update and then prints the log from the revision before the update to now.

SVN_CURR_REV=`svn info|grep 'Last Changed Rev'|awk '{ print $4 }'`; \
svn up; \
svn log -r $SVN_CURR_REV:HEAD

Now I just have to remember tot type svnup instead of svn up.

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free

© 2011 Ronald! Suffusion theme by Sayontan Sinha