[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Merge Log Template is not saved

From: Martin Bischoff <tinu44_at_gmail.com>
Date: Tue, 23 Jul 2013 21:09:58 +0200

Thanks for your reply. See below for more information:

On Tue, Jul 23, 2013 at 8:18 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> On 23.07.2013 13:36, Martin Bischoff wrote:
> > I was trying to use the Merge Log Template feature in TortoiseSVN 1.8.0,
> > but the template is not saved when I close the edit-dialog.
> >
> > Here are the steps to reproduce the problem:
> > - on the working copy root directory select TortoiseSVN->SVN Properties
> > - select New -> Merge Log Templates
> > - enter the templates.
> > - Click OK
>
> Now I have
> tsvn:mergelogtemplatemsg
> tsvn:mergelogtemplatereversetitle
> tsvn:mergelogtemplatetitle
>

OK, this is where the problem occurs: I only entered a text for the
mergelogtemplatemsg and the mergelogtemplatetitle. In that case (with an
empty mergelogtemplatereversetitle), only the first text
(mergelogtemplatems) gets saved.
When I close the property editor, I can only see one added line/property
(the mergelogtemplatemsg).

When I enter a text in all 3 text boxes in the property editor, then it
works as expected.

BTW: I found two additional (minor) issues:
- the help button in the property editor window doesn't work (the F1 key
works)
- the title of the property editor window is "{WC Path} - Dialog -
TortoiseSVN". Something like "{WC Path} - Log Templates - TortoiseSVN"
would be more consistent with the other property editor dialogs.

-Martin

> > - Now, double click the tsvn:mergelogtemplatetitle row again in teh
> > Properties dialog
> > --> the first template string (title-string for merge) is still there,
> > but the template for each merged revision is lost.
> > --> if I commit the property-change, and then check again, the text is
> > still missing
>
> Doesn't happen for me: all text fields are filled in properly.
>
> >
> > Don't know if this is relevant, but these are the texts I entered in the
> > three text-areas (without double-quotes, \n is a line-break):
> > - "Merged revision(s) {revisions} from {mergeurl}:\n"
> > - ""
> > - "r{rev} ({author}):\n{msg}\n"
> >
> > System information:
> > - Windows 7 Enterprise, 64 bit
> > - TortoiseSVN 1.8.0, Build 24401 - 64 Bit , 2013/06/17 18:15:59
> >
> > Best regards,
> > Martin
> >
> >
> > PS: two related questions:
> >
> > - when using the standard repository layout (/trunk, /branches, /tags),
> > where should the merge log template property be set? on the repository
> > root, on trunk or on branches? Or on any folder, where we merge to?
>
> That depends: you can set it on the repo root only if all your clients
> use svn 1.8. For pre-1.8 clients there are no inherited properties so
> for those you have to set the property recursively on all folders.
>
> > - must the property be set recursively?
>
> I would recommend it, yes. But it's not needed for svn 1.8 since it has
> inherited properties.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
>
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3061113
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3061121

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-07-23 21:10:03 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.