Claro que eh _possivel_ fazer um lock em um CVS, so que a forma normal de 
trabalho do sistema nao eh essa. Veja abaixo o marcado entre (**).


Do manual do CVS:

Currently the usual way to get reserved checkouts with cvs is the cvs admin
-l command. (**) This is not as nicely integrated into cvs (**) as the
watch features, described below, but it seems that most people with a need
for reserved checkouts find it adequate.


Observe que isso nao vem necessariamente configurado:

admin options:

-l[rev ] 

Lock the revision with number rev. If a branch is given, lock the latest
revision on that branch. If rev is omitted, lock the latest revision on the
default branch. There can be no space between `-l' and its argument.  
(**) This can be used in conjunction with the `rcslock.pl' script in the
`contrib' directory of the cvs source distribution to provide reserved
checkouts (**) (where only one user can be editing a given file at a time).
See the comments in that file for details (and see the `README' file in
that directory for disclaimers about the unsupported nature of contrib).
According to comments in that file, locking must set to strict (which is
the default).


Outros respostas sobre o assunto:

http://ccvs.cvshome.org/fom//cache/120.html
http://ccvs.cvshome.org/fom//cache/126.html


[]s,

Bruno.


Paulo Silveira wrote:

> Ola Claudio e pessoal
> 
> existe SIM como lockar arquivos no CVS, como em todos os outros versioning systems
> 
> procure pela opcao -l, ele locka uma versao de um arquivo, e apenas voce podera 
>commitar ele a partir daquele 
> momento, ateh que voce solte o lock
> 
> vale a pena salientar que LOCKAR (ou reserved checkout) i uma maneira muito infeliz 
>de se trabalhar em 
> conjunto, sendo muito menos produtivo que encarar os merges.
> 
> obrigado
> 
> ======================
> Paulo Eduardo Azevedo Silveira
> Grupo de Usuarios Java
> http://www.guj.com.br/
> 
> On Wed, 15 Jan 2003 11:46:45 -0200, Claudio Miranda <[EMAIL PROTECTED]> 
>escreveu :
> 
> > De: Claudio Miranda <[EMAIL PROTECTED]>
> > Data: Wed, 15 Jan 2003 11:46:45 -0200
> > Para: [EMAIL PROTECTED]
> > Assunto: Re: RES: [enterprise-list] CVS
> > 
> > 
> >     Como disse na minha mensagem anterior,
> > 
> >      O CVS nco tem o conceito de lock como dos outros sistemas de 
> > versco, pois se alguim "editar" um arquivo versionado, ira ficar 
> > apenas marcado, e a outra pessoa que quer editar o arquivo nco 
> > recebera nenhuma notificagco se quiser editar o mesmo arquivo, isso ss 
> > sera feito se a 2a pessoa quiser "ver" (cvs watch) quem esta em fase 
> > de edigco. Enquanto os outros sistemas de versco nco deixam a 2a 
> > pessoa simplesmente editar, mas dizer explicitamente que quer editar 
> > mesmo que alguim ja esteja fazendo isso.
> > 
> > ][s
> > 
> > Claudio Miranda
> > 


Bruno.
______________________________________________________________________
Bruno Peres Ferreira de Souza                         Brazil's JavaMan
http://www.javaman.com.br            mailto:[EMAIL PROTECTED]
        if I fail, if I succeed, at least I live as I believe



---------------------------------------------------------------------
Para cancelar a subscri��o, envie mensagem para: 
[EMAIL PROTECTED]
Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED]

Responder a