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