info-cvs
[Top][All Lists]
Advanced

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

Re: backup of a cvs repository


From: Mark D. Baushke
Subject: Re: backup of a cvs repository
Date: Sun, 12 Dec 2004 14:41:29 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John <address@hidden> writes:

> To do a backup of a CVS repository, we have to lock it. Is it enough
> to put a #cvs.rfl in $CVSROOT ?

Not really.

You would want a read lock file in all of the directories of the
repository, not just at the top-level $CVSROOT directory...

You may wish to look for cvslock

  http://www.zevils.com/doc/cvsbook/cvsbook_8.html#SEC273
  http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/cvslock/cvslock.c

I don't believe any of the currently released versions deal with LockDir
or promotable locks (#cvs.pfl), so you may end up needing to hack things
a bit to use it.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBvMkZ3x41pRYZE/gRAmIbAKDNt/v9bs4HAgcOgcjNSxT/MvHV7ACfR2BF
FjgqGJ/ZhVw8H/sRCOEvgvc=
=2uhr
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]