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

Tortoiseproc /command:commit and long default log message

From: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-11-16 16:13:29 CET

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).

---
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Nov 16 17:18:13 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.