RSS

[svn] List subversion commits by a user for a given date range

10 Mar

In connection to my previous post on SVN intro, here’s a neat trick to list SVN commits by a user for a given date range:

$ for i in `svn log -r{2011-02-01}:HEAD | awk '$3 == "user" {print $1}'`; do svn log -v -$i;done

Note: It does not work in t/csh shells since you need a different looping structure (see a recent post on t/csh loops).

 

Reference: Command-Line-Fu.

About these ads
 
Leave a comment

Posted by on March 10, 2011 in bash, csh, svn, zsh

 

Tags: , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 32 other followers

%d bloggers like this: