Does anyone how to retrieve the last n log messages from SVN using SharpSvn? I’ve been calling GetLog with an SvnRevisionRange argument but really just need the 20 most recent messages which I can’t predict on date alone. Thanks!
Almost right - this will take the FIRST n results, I need the LAST n results i.e. the most recent messages.
Troy Hunt
2010-03-24 23:42:37
If you want the last n results you should reverse your revision range. (The default is HEAD:0 and you get the results the other way if you use 0:HEAD)
Bert Huijben
2010-03-25 08:41:11