Subversion: how to view tagged comments

How to view tag comments in svn? Suppose I create a tag:

svn cp -m"vhost apache config" file:///var/svn/repos/foo/trunk file:///var/svn/repos/foo/tags/release-0.1

Later, I tagged many times, and I need to find out what each tag is. I can use:

svn ls --verbose file:///var/svn/repos/foo/tags
------------------------------------------------------------------------
r50 | user | 2010-03-03 18:11:50 -0500 (Wed, 03 Mar 2010) | 1 line
Changed paths:
   A /foo/tags/release-0.1/trunk (from /foo/trunk:49)

vhost apache config

There is information, but with a large list of tags it is difficult to select a journal entry that will tell me which tag is of interest to me. In this case, it is the "vhost apache config". Is it possible to simply list all the tags and the comment that was applied when creating (copying) the time?

Thank.

+3
source share
2 answers

If you work correctly and don’t make any changes to your tag folder except for creating tags, the answer is simple:

svn log file:///var/svn/repos/foo/tags 

You will get some result as follows:

------------------------------------------------------------------------
r12 | pparker | 2010-02-22 13:13:24 +0100 (Mo, 22. Feb 2010) | 1 Row

creating tag after locking exercise
------------------------------------------------------------------------
r1 | pparker | 2010-02-22 13:13:17 +0100 (Mo, 22. Feb 2010) | 1 Row

initial repository structure
------------------------------------------------------------------------

: . . , 1. , -v

+3

grep TortoiseSVN svn log, , /tags/.

+1

Source: https://habr.com/ru/post/1736388/


All Articles