Blog archive: Python
Tuesday 24 November 2009
A quick trick that I'm finding very useful for those little deployments that don't require a full export of the Subversion repository. A little regex on the standard verbose output of the Subversion log like so:
svn log -r HEAD -v | egrep '^ +[A-Z]'
will output a list of the files included in the specified revision, e.g.:
The letters "A", "M" or "D" denote whether the file was added, modified or deleted.