Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ever need to parse the svn log for files committed by a particular user since a certain date? [closed]

Tags:

logging

svn

awk

If so the following one-liner utilizing awk might provide a useful template

svn log -v -r{2009-05-21}:HEAD | awk '/^r[0-9]+ / {user=$3} /yms_web/ {if (user=="george") {print $2}}' | sort | uniq
like image 543
Dexygen Avatar asked Jun 05 '09 13:06

Dexygen


2 Answers

You could add this to the list of useful command-line svn examples.

like image 132
VonC Avatar answered Sep 30 '22 17:09

VonC


Or use the XML output (--xml) of svn log and an Xslt processor.

like image 21
elmuerte Avatar answered Sep 30 '22 16:09

elmuerte