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

Re: How to change default svn-commit.tmp contents

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Thu, 20 May 2010 10:17:20 +1000

On Thu, May 20, 2010 at 10:08 AM, Bostjan Skufca <bostjan_at_a2o.si> wrote:
> Hi all!
>
> I would like to change default contents of commit message from 'svn status'
> output to add 'svn diff' output. How can this be achieved?
>
> I have already tried setting editor-cmd in ~/.subversion/config to "svn diff
>>> svn-commit.tmp && mcedit" and it partially works, but creates diff
> against previous revision, not HEAD.
>
> Any suggestions?

1) Try running an update first.

2) If you're committing a file, and the diff between the working copy
and previous is not identical to the diff between working and HEAD,
that would indicate an out of date working copy, and I would expect
you should get an error.

3) Can I ask why you are trying to include the diff in the log message?

Cheers,
Daniel B.
Received on 2010-05-20 02:18:11 CEST

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

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