With svn How to add a log message to the trunk when creating a tag?

When creating a project, I mark the source using the svn copy command. When viewing history for the trunk, I do not see the log message for these tags. I would like to see a magazine message for each of my release versions in the trunk.

I want to be able to easily see what changes were in each version. Right now I need to go back and find the version number for each tag and track this number manually when viewing the log.

I would even be happy if I could run another command to add a log message to trunk after the tag has taken place. However, I cannot find a way to get the message displayed in the log for each file, since the file has not changed after the tag.

+3
source share
3 answers

I think you want to look at the message parameter

http://svnbook.red-bean.com/en/1.0/re07.html

svn copy .... --message (-m) TEXT

EDIT:

Nothing. This is not what you want. You want to look at the torso to see which copies / tags you made ... You can do this:

svn list --verbose e.g. svn list --verbose file: /// repository_name / tags

But in the end, I think you answered your question. Store the text file somewhere and during assembly add it automatically with the tag name and then check it with the tag / tag comment.

I did something similar in the previous company. The build script had its own user input in SVN and was checked in the version file.

i.e. /Project/Builds/builds.txt

. , . , , . CI/many builds .

, . , , tag-revision-n +1 .

+2

subversion trunk, . ( , /). , - .

, - ( , , ).

svnmucc : ( , )

svnmucc \
  cp 1234 http://srv/svn/project/trunk http://srv/svn/project/tags/release \
  propset last-tag ^/tags/release http://srv/svn/project/trunk \
  -m "The log message"

(svnmucc URL- Subversion subversion)

:

last-tag - ; .

+1
source

All Articles