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

Re: Tortoiseproc /command:commit and long default log message

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-11-16 18:17:57 CET

Kevin Puetz wrote:
> Since svnmerge changed from unix sh to python, it now works nicely on
> windows, so I've been working on some scripts to hook it into the
> tortoisesvn dialogs (espescially the commit one, as being able to view
> diffs right from the commit dialog is a very handy way to review what you
> just did).
>
> However, I can't work out a way to get the log message template passed in to
> TortoiseProc.exe; quoting embedded whitespace is tough (since I'm calling
> from cygwin, and thus have two dissimilar quoting rules to fight with) but
> quoting embedded newlines appears to perhaps actually be impossible (at
> least google has not yet revealed a way to pull it off...). I don't even
> really want to think too hard about the general case with non-ascii and
> other stuff in it :-) Would it be possible to support
> reading /logmsgfile:path (read from a file)as well as /logmsg:message? That
> would also be consistent with svn's commandline commit (and thus with what
> external svn scripts are expecting to feed).

Done in revision 4960.

> ---

Please don't use that to separate paragraphs in your mails. Many mail
clients treat lines below '--' or '---' as a signature and show them
either greyed out or not at all (depending on the settings). I almost
missed your second request - I only saw it when I replied to your mail!

> The second thing that would make this *really* slick would be a way to show
> log messages for a discontinuous set of revisions (svnmerge's notation is
> start-end,start-end,start-end), and then return the list of selected
> revisions (printed to stdout in the same notation would work great). But
> that's probably a bigger change to implement, since it would require the
> log dialog to make multiple requests to fetch each range of messages.

TSVN is a GUI client and does *never* print stuff to stdout. In fact,
stdout, stdin and stderr aren't even set up for GUI programs at all
since they don't have a console window.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Nov 16 18:18:24 2005

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

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