[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux] CVS, replication



Jean-Francois Dive <jef@linuxbe.org> wrote:

> Salut a tous,
> 
> une petite question sur CVS. J'ai un projet qui est dans un rep CVS.
> J'aimerais  pouvoir  avoir  une  certaine synchronisation  entre  ce
> serveur CVS et  rep sur une autre machine, et  ce uniquement pour ce
> projet.( Il y a bcp d'autres  dans le CVS qui ne m'interesse pas. La
> question est comment faire ? y a il kkchose dans CVS de prevu ou vat
> il falloit jouer avec rsync ou quelque chose comme ca ?

un petit script sur le client:
. cd /rep/du/cvs/et/du/projet/
cvs update -P -d -R -f

#
# Usage: cvs update [-APCdflRp] [-k kopt] [-r rev] [-D date] [-j rev]
#    [-I ign] [-W spec] [files...]
#	-A	Reset any sticky tags/date/kopts.
#	-P	Prune empty directories.
#	-C	Overwrite locally modified files with clean repository copies.
#	-d	Build directories, like checkout does.
#	-f	Force a head revision match if tag/date not found.
#	-l	Local directory only, no recursion.
#	-R	Process directories recursively.
#	-p	Send updates to standard output (avoids stickiness).
#	-k kopt	Use RCS kopt -k option on checkout. (is sticky)
#	-r rev	Update using specified revision/tag (is sticky).
#	-D date	Set date to update from (is sticky).
#	-j rev	Merge in changes made between current revision and rev.
#	-I ign	More files to ignore (! to reset).
#	-W spec	Wrappers specification line.
# (Specify the --help global option for a list of other help options)

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php     ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/  ]
[ http://unixtech.be              Contact: listmaster@unixtech.be  ]