1

Is there a way to investigate for a description on svn log, like:

svn log | grep "desc"

that also return revision number, user and not just the description string?

1 Answer 1

3

Since Subversion 1.8, there's an option --search, so you would just do:

svn log --search desc

Here's a link to the corresponding release notes.

If you're stuck with an older version of Subversion, the following should help in most cases (except if the log messages span multiple lines - adjust the "before" parameter as needed):

svn log | grep -B3 desc
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.