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

currently logged in user keyword

From: altern <altern_at_bigmir.net>
Date: Thu, 11 Dec 2008 15:04:39 -0800 (PST)

How could I get current logged in user login as svn keyword? Should I write
hook for this purpose? Are there update-hooks at all? I need to make
specific configuration files functionality available. For example, I have
next code in my config.php:
<?php
switch('$login$') {
   case 'user1':
      $conf['dbname'] = 'db1';
      break;
   case 'user2':
      $conf['dbname'] = 'db2';
      break;
   case 'user1':
      $conf['dbname'] = 'db3';
      break;
}
mysql_select_db($conf['dbname']);
?>

Is something planned to develop in future subversion version to handle
configuration files? This is a big issue for me. And not for me, I guess

-- 
View this message in context: http://www.nabble.com/currently-logged-in-user-keyword-tp20964981p20964981.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983101
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-12 19:49:52 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.