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

Re: Empty commit

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-06-13 15:51:31 CEST

On 6/13/07, Giulio Troccoli <Giulio.Troccoli@uk.linedata.com> wrote:
> Is there a way to capture an empty commit?
>
> I would like to do something in case there is a commit with actually no
> changes at all. I thought to check what is changed in the pre-commit
> hook
> using svnlook changed but it seems the pre-commit hook is not even
> called. Maybe because the transaction is not created, since there are no
> changes, and if that's the case it would make sense. However, is there a
> way I can capture this event somehow?

Unless I'm mistaken, the Subversion client doesn't allow an commit in
the first place if there are no changes. Have you been able to
successfully execute a commit (including bumping the repository
version #) without actually making changes?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 13 16:51:53 2007

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.