We're 5 people on our project and sometimes we would want to find a specific commit on SVN, like a bug resolution.
Of course we don't know the revision number of the researched commit.
Does someone have an idea to find a commit by comment ?
I think it's possible by parsing svn logs and using regex but I hope there is a better way.
Use the View History option to see the revision information for a project file or folder as it exists in the Subversion repository. In the Solution Explorer, right-click a project file or folder and select View History. The History Viewer retrieves the log messages from the repository and displays them.
By default, the log message property (svn:log) cannot be edited once it is committed. That is because changes to revision properties (of which svn:log is one) cause the property's previous value to be permanently discarded, and Subversion tries to prevent you from doing this accidentally.
Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.
svn commit will send any lock tokens that it finds and will release locks on all PATH s committed (recursively) unless --no-unlock is passed. Tip. If you begin a commit and Subversion launches your editor to compose the commit message, you can still abort without committing your changes.
If you prefer the cli, use log --search
(see doc)
svn log --search your_comment_fragment
If you're running on a Windows environment you can use Tortoise SVN to search among commit comments, exploiting the Revision Log Dialog.
Search log messages... Search log messages for the text you enter. This searches the log messages that you entered and also the action summaries created by Subversion (shown in the bottom pane). The search is not case sensitive.
If you're running on a Linux environment you can use alternatives like RabbitVCS, which works almost in the same way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With