Any simple way to get svn status update in chronological
I use:
svn status --show-u开发者_高级运维pdates --verbose |less
but results are not sorted in chronological order. What do you use to do this ? thx
This pipeline gets the file paths from the svn status output and uses normal ls to sort them by (local) modified time.
svn status | awk '{print $2}' | xargs ls -lt
On Linux (or other UNIX-like systems) you can do something like
svn status --show-updates --verbose | sort -k 2rn
to sort by the middle column of revision numbers (in reverse). I guess that might work from Cygnus too but I'm not sure.
svn log --limit 10
SVN log lists in reverse-chronological order by default.
精彩评论