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

Re: Enhancement request for the merging API: "Commit message suggestion"

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-05 19:39:44 CET

On 11/5/07, Tobias Schäfer <tobiasschaefer@gmx.de> wrote:
> Hi devs,
>
> I have a enhancement request for the merging API.
>
> Problem 1:
> Whenever a revision is merged TortoiseSVN 1.5.0-dev suggests a commit
> message based on the revisions which have been merged and their author and
> commit message ("Commit message suggestions"). Unfortunately it cannot tell
> if a revision specified by the user was really merged. For example a
> revision could have been blocked by an existing svn:mergeinfo entry.
> Therefore the created log message sometimes contains too many entries.
>
> Problem 2:
> A further problem is that every SVN client might generate this commit
> message in a slightly different way.
>
> The solution to both problems:
> Could the callback of svn_client_merge_peg4 (notify_func of
> svn_client_ctx_t) please provide a suggested commit message at the end of
> the merge. All SVN clients will then be able to present this to the user so
> that he can use it.
> This log message should be formated similar to the one svnmerge.py creates,
> maybe even exactly the same format.

Given the existence of 'svn log -g', should we really be encouraging
log messages that include the logs of the merged revisions? (The
header summary line is very useful of course.)

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 5 19:40:00 2007

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

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