[FUG-BR] [OffTopic] Para usuários do Subversion

gethostbyname gethostbyname em gmail.com
Terça Março 27 08:45:59 BRT 2007


Rafael Henrique Silva Faria escreveu:
> Em 26/03/07, Ricardo Nabinger Sanchez<rnsanchez at gmail.com> escreveu:
>   
>>        svn propset svn:keywords "Id Date Revision Author" *.php
>>
>>     
>
> root at papillon / # svn propset svn:keywords "Id Date Revision Author" *.php
> svn: No match.
>   
Que mal lhe pergunte, há realmente algum arquivo PHP nesse diretório "/"?
> root at papillon / #
>
> Mesmo assim... continua com o mesmo erro.
>
> Mas achei estranho isso ter de ser configurado no cliente. SIgnifica
> que é o cliente que substitui o conteudo do arquivo antes de mandar
> para o svn? Acredito que isso deveria ser feito a nivel de servidor.
> Porque senào eu terei que lembrar de configurar todos os clientes que
> eu utilizar, e que qualquer outro programador da equipe utilizar para
> fazer isso?
>
>   
"[...] Subversion will never attempt to perform textual substitutions on
your file contents unless explicitly asked to do so. After all, you
might be writing a document ^ about how to use keywords, and you don't
want Subversion to substitute your beautiful examples of un-substituted
keyword anchors!"
"[...] If someone else now commits a change to weather.txt, your copy of
that file will continue to display the same substituted keyword value as
before—until you update your working copy. At that time the keywords in
your weather.txt file will be re-substituted with information that
reflects the most recent known commit to that file."

Portanto, os valores serão atualizados na sua cópia de trabalho
automaticamente assim que você fizer um commit. Entretanto, você tem que
pedir para o svn fazer a primeira substituição textual. Na documentação,
não achei nada sobre quem faz a substituição, mas eu creio que seja o
servidor mesmo.
> Um pouco encomodo.
>
> Eu encontrei um script em perl, que seta os auto-props, mas que também
> funciona apenas no lado do cliente...
>
> Alguem tem alguma solução melhor para isso?
>
> Agradeço a ajuda de todos.
>
> Rafael Henrique Faria
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
>   

gethostbyname


Mais detalhes sobre a lista de discussão freebsd