[LUG.ro] (no subject)
Pablo
lugro@lugro.org.ar
Fri, 10 Feb 2006 11:47:00 -0300
Busca por cvs edit:
Command: cvs edit [-lR] [-a action]... [files]...
Prepare to edit the working files files. CVS makes the files read-write,
and notifies users who have requested edit notification for any of files.
The cvs edit command accepts the same options as the cvs watch add
command, and establishes a temporary watch for the user on files; CVS will
remove the watch when files are unedited or committed. If the user does not
wish to receive notifications, she should specify -a none.
The files and the options are processed as for the cvs watch commands.
Normally when you are done with a set of changes, you use the cvs commit
command, which checks in your changes and returns the watched files to their
usual read-only state. But if you instead decide to abandon your changes, or
not to make any changes, you can use the cvs unedit command.
Command: cvs unedit [-lR] [files]...
Abandon work on the working files files, and revert them to the
repository versions on which they are based. CVS makes those files read-only
for which users have requested notification using cvs watch on. CVS notifies
users who have requested unedit notification for any of files.
The files and options are processed as for the cvs watch commands.
If watches are not in use, the unedit command probably does not work,
and the way to revert to the repository version is with the command cvs
update -C file (see section A.16 update--Bring work tree in sync with
repository). The meaning is not precisely the same; the latter may also
bring in some changes which have been made in the repository since the last
time you updated.
When using client/server CVS, you can use the cvs edit and cvs unedit
commands even if CVS is unable to successfully communicate with the server;
the notifications will be sent upon the next successful CVS command.
Saludos. Pablo.
-----Mensaje original-----
De: lugro-admin@lugro.org.ar [mailto:lugro-admin@lugro.org.ar] En nombre de
Sebastián Mass
Enviado el: Viernes, 10 de Febrero de 2006 11:07 a.m.
Para: lugro@lugro.org.ar
Asunto: [LUG.ro] (no subject)
Hola, aver si alguien sabe algo de esto:
Tengo que implementar un modo de compartir archivos de la forma
bloqueo-modificación-desbloqueo, instale CVS pero por lo que leí no tiene
modo de implementar este método, no me interesa que me mantenga versiones,
pero si que cuando un desarrollador esta editando un archivo, no le permita
a otro desarrollador editarlo, hasta que el otro desarrollador lo
desbloquee.
Alguien conoce alguna solución basada en Linux para implementar esto?.
Gracias!!!
_______________________________________________
Lugro mailing list
Lugro@lugro.org.ar
http://www.lugro.org.ar/mailman/listinfo/lugro