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

Re: Client-side commit hooks (Revisited)

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-08-02 22:53:27 CEST

Peter Davis <peter@pdavis.cx> writes:
> The question then is, how does a hook figure out the user/pass in order to
> connect to a separate repository? Maybe some magic will be required in the
> hook's configuration (ie., don't support arbitrary URLs, only ones that have
> been pre-configured and their passwords stored in the config).

The two repositories could share the same user/password db, though.

Oh, and you can get the committers' name from the txn property (it
becomes a revision property after commit, that's how the commit emails
work).

Not that you need two separate repositories, of course; just separate
txn commits, which might or might not be in different repositories.

> Thanks for your help. Things are a lot clearer in my head now, even
> though it won't be quite as slick as I had hoped.

You're welcome -- good luck!

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 2 23:08:32 2002

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.