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

Re: How to get the client hostname while user committing the code to the repository?

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Mon, 26 Jul 2010 18:08:25 +0100

Probably not available.

Keep in mind that depending on how a repo is set up people could be
accessing it via:

svn:
ssh+svn:
http:
https:

They kep point here is that ssh+svn will appear to subversion as a commit
from localhost (i.e. 127.0.0.1)

So it is likely that the commit scripts do not have the info passed through
because the info could well be useless... a.k.a. Design for lowest common
denominator

-Stephen

On 26 July 2010 10:57, Dharmaraj, Ramkumar <RamkumarD_at_nds.com> wrote:

> Hi,
>
>
>
> I need your help.
>
>
>
> I need the client host information in either pre or post-commit trigger.
>
>
>
> Regards,
>
> Ram
>
>
>
> ------------------------------
> This message is confidential and intended only for the addressee. If you
> have received this message in error, please immediately notify the
> postmaster_at_nds.com and delete it from your system as well as any copies.
> The content of e-mails as well as traffic data may be monitored by NDS for
> employment and security purposes.
> To protect the environment please do not print this e-mail unless
> necessary.
>
> An NDS Group Limited company. www.nds.com
>
Received on 2010-07-26 19:09:03 CEST

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.