the latest value of tsvn:logtemplatebranch will not be activated

20 views
Skip to first unread message

hirosh...@gmail.com

unread,
Jun 12, 2019, 10:41:46 AM6/12/19
to torto...@googlegroups.com
Hello Team,

I need your help to resolve my problem of tsvn:logtemplatebranch.
I would like to prompt tsvn:logtemplatebranch value when I operate "svn copy" on repository browser.
But it didn't work as I expected.
Followings seemed results of same cause. (TortoiseSVN 1.12.0 Build28568 - 64 Bit, Windows7)

Case1(on Client 1 with SVN Server 1)
What I did
I set "test" to tsvn:logtemplatebranch property value of "/tags" with repository browser.
Then I tried to copy from "/trunk/somewere" to "/tags/tag1" with repository browser.

What I expected
"test" should be shown as a default message on the "Enter Log Message" dialog.

What actually happend
Nothing was shown on the  "Enter Log Message" dialog.

Case2(on Client 2 with SVN Server 2)
What I did
I set "test" to tsvn:logtemplatebranch property value of "/tags" with repository browser.
Then I tried to copy from "/trunk/somewere" to "/tags/tag1" with repository browser.
On this environment, "test" was shown as a default message on the "Enter Log Message" dialog.
After that, I changed the tsvn:logtemplatebranch property value from "test" to "test"  with repository browser.
And I tried to copy from "/trunk/somewere" to "/tags/tag2" with repository browser.

What I expected
"test2" was shown as a default message on the "Enter Log Message" dialog.

What actually happend
"test" was shown as a default message on the "Enter Log Message" dialog.
I mean it was not "test2".

My Question
I think this is a bug around cache behavior.
It this is not a bug, please tell me how to activate the latest tsvn:logtemplatebranch value.

Stefan

unread,
Jun 12, 2019, 1:15:34 PM6/12/19
to TortoiseSVN
the log template properties are always read from the working copy, not directly from the repository. That's for performance reasons: you don't want to have TSVN trying to read those properties directly from the repository, because that could take several seconds.

So you have to set that property on your working copy first, then it is used in the repo browser.

Hiroshi Koiso

unread,
Jun 13, 2019, 2:09:15 AM6/13/19
to TortoiseSVN
Stefan,

Thank you for your quick response.
I understood the specification of the repository browser.

I would like to suggest appending a function to the repository browser as followings.

Specification
1. Append the option "always retrieve logtemplate properties from server" to the Settings.
2. When repository browser refers logtemplate properties, it detemins whether to use working copy value or the latest value of server depend on above configuration.

Purpose
Some people need strongly centralized control of logtemplate.

How about it?

Reply all
Reply to author
Forward
0 new messages