Home > SVN Log Made Easier

SVN Log Made Easier

May 3rd, 2007

So, I got tired of typing in the dates to find a range of log messages. Here’s my solution:


# In ~/.bashrc
svn-log() {
  case $1 in
    yesterday | yes | y) svn log -r {`date -d yesterday +"%Y-%m-%d"`}:{`date +"%Y-%m-%d"`};;
    *) echo "Invalid Option: $1";;
  esac
}

I plan to add more to this later.


, ,

  1. May 3rd, 2007 at 18:16 | #1

    Very cool feature. Great that this service works on any site not just blogs.

  2. May 3rd, 2007 at 18:16 | #2

    Wow thanks! I’m a regular reader and enjoy your work. Keep it up!

  1. No trackbacks yet.
Comments are closed.