Bob Yoplait
Bob Yoplait

Reputation: 2499

Any simple way to get svn status update in chronological

I use:

svn status --show-updates --verbose |less

but results are not sorted in chronological order. What do you use to do this ? thx

Upvotes: 1

Views: 1678

Answers (3)

multipolygon
multipolygon

Reputation: 2234

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

Upvotes: 4

Pointy
Pointy

Reputation: 413709

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.

Upvotes: 2

ayush
ayush

Reputation: 14568

svn log --limit 10

SVN log lists in reverse-chronological order by default.

Upvotes: 2

Related Questions