On Sun, 14 Oct 2007, Peter Stuge wrote:

> What is the suggestion for projects with subdirectories?

A generalized pipeline using svnversion when there are subdirectories 
(possibly coming from svn:externals) could be:

find . -type d \
           | grep -v "\.svn" \
           | xargs -i svnversion -c {} \
           | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/" \
           | sort -un \
           | tail -1


/ulf

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to