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

Re: Getting the committing username in the pre-commit hook

From: si <sshnug.si_at_gmail.com>
Date: 2006-01-11 03:43:33 CET

Hi Tejinder,

> Currently, I'm trying to integrate Subversion and TestDirector for better
> defect management. Could someone please let me know of the command for
> getting the committing username in the pre-commit hook?

From hooks/pre-commit.tmpl

# [1] REPOS-PATH (the path to this repository)
# [2] TXN-NAME (the name of the txn about to be committed)
# The hook program can use the 'svnlook' utility to help it examine the txn.

svnlook help author

See the example and links in pre-commit.tmpl for details.

Also, have you seen this?


Quite a few Subversion clients and front-ends now implement this,
so it may also help.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 11 03:46:24 2006

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.