Search SVN logs

svn log example.module | egrep 'example_menu' -B 2 -A 1

display SVN log entries for the file example.module that include the string 'example_menu'. The -B 2 option tells egrep to display two lines of context before and -A 1 one line after the matched line. Things can be thrown off by long or short messages, but generally this works.

No comments

Add your comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Find Me Around

User login