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

Re: Keeping stuff out of my repository?

From: Mark Eichin <eichin_at_gmail.com>
Date: Thu, 30 Oct 2008 15:16:27 -0400

On Thu, Oct 30, 2008 at 2:35 PM, David Weintraub <qazwart_at_gmail.com> wrote:

> If you use a pre-commit hook to filter out these files, simply reject
> the whole transaction with an explanation. The developer would then
> have to delete the culprits, and then resubmit the transaction.
> They'll quickly learn to follow your directions about creating client
> side ignore rules.

That model only flies when the repository is maintained by someone the
developers work *for*. If it's a service *to* them, it's not going to
happen. (And really, saving people from caring about tedious details
like that is what computers are *for* :-)

(We do use a couple of rejecting pre-commit hooks, but they're fairly drastic:
  * entirely empty commit messages
  * some sanity checks on things known to break the continuous builder
at the configuration level
    (and there's a tool the developer can run to check it themselves first.))

We mostly end up with tools that the more fastidious types can run in
bulk if they want...

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-30 20:16:49 CET

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.