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

RE: Bikeshed: configuration override order

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Tue, 10 Aug 2010 17:15:44 +0100

On Tue, 2010-08-10 at 17:12 +0100, Bolstridge, Andrew wrote:
> > Summary...
> >
> > There are two issues here...
> >
> > 1. The repo admin wants to enforce what is commited to their repo.
> This
> > exists with scripts but common request can be made inherient repo
> settings
> > (probably need to be path based).
> >
>
> The issue with pre-commit hooks is that they are run after all data is
> transferred - so if I commit loads of data, and accidentally leave the
> banned buildlog.htm file in... I'll find out about it after half an
> hour's commit.. and have to repeat the process.

No - there are two different hooks, for precisely this reason.
pre-commit runs before all the file contents are transferred, and
start-commit after all the file contents are transferred.

- Julian

[...]
Received on 2010-08-10 18:16:27 CEST

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.