Vepr
Vepr

Reputation: 21

Commiting and get specific revision

I work with sharpSVN,i need 2 things: 1) I need to get a revision with specific logmessage 2) When I commit my revision, I want to show every file, that is commiting. I find an event commiting, but I don't know how it works(Commiting and get specific revision)

Upvotes: 0

Views: 97

Answers (1)

Bert Huijben
Bert Huijben

Reputation: 19612

Subversion doesn't have a builtin search capability on log messages, so you need to walk through all revisions to find your answer.

(You can call SvnClient.Log() on the path. On the args object set .Retrieve* to false for everything you don't need and put only svn:log in RetrieveProperties for optimal performance. Nothing beats a local cache though)

Upvotes: 1

Related Questions