On Mon, 2008-03-10 at 15:07 -0400, Francois-Denis Gonthier wrote:
> In Mercurial (maybe in other VCS too, I have not testing), releasing
> and tagging causes redundant log entries:
[...]
> That is caused by debcommit overriding the commit message with the
> "releasing version [...]" message even if there are some new content
> in the debian changelog.
[...]
> This problem can be worked around by calling debcommit without -r and
> then debcommit with -r, but I still believe the behavior of having
> redundant log entries is wrong.
> 
> I have provided a small and probably incomplete patch to illustrate
> what I feel is a more acceptable behavior.

Would moving "$message=getmessage() if ! defined $message;" before the
"if ($release)" check not be easier than introducing a new option? That
would make the message used by debcommit -r:

- the message passed with -m, if any or
- the changes in the changelog, if any or
- "releasing version X"

Joey, or anyone else for that matter - any thoughts / objections?

Regards,

Adam




-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to