Existe algo como um perfil de usuário do SVN?

3

Existe algo como ~/.svnrc ou ~/.svn/* onde eu posso colocar as opções de linha de comando svn que serão aplicadas a todos os comandos svn que eu emito no shell, por exemplo --no-auth-cache ?!

A versão do SVN é 1.5.1.

    
por ThomasH 11.05.2011 / 11:37

1 resposta

6

The first time the svn command-line client is executed, it creates a per-user configuration area. On Unix-like systems, this area appears as a directory named .subversion in the user's home directory.

( Área de Configuração em Tempo de Execução no Manual on-line do Controle de versão com Subversion .

Deve haver um arquivo chamado config em ~ / .subversion, que já foi muito comentado para você começar. Quanto ao seu exemplo, o Config seção no manual on-line tem estes:

store-passwords

This instructs Subversion to cache, or not to cache, passwords that are supplied by the user in response to server authentication challenges. The default value is yes. Set this to no to disable this on-disk password caching. You can override this option for a single instance of the svn command using the --no-auth-cache command-line parameter (for those subcommands that support it). For more information, see the section called “Client Credentials Caching”.

store-auth-creds

This setting is the same as store-passwords, except that it enables or disables on-disk caching of all authentication information: usernames, passwords, server certificates, and any other types of cacheable credentials.

    
por 11.05.2011 / 13:42

Tags