Re: copy a repository

Thien-Thi Nguyen <[email protected]> Fri, 08 Jun 2012 14:03:13 +0200
Newsgroups gmane.comp.gnu.rcs
Message-ID <[email protected]>
() KEHRHOLFF Martin <[email protected]>
() Fri, 8 Jun 2012 11:06:52 +0200

   is it possible to copy an existing rcs repository like:

   cp -r /data/repository1/*  /data/repository2

   and work on the copy with rcs commands like working on the original?

I guess it depends on what you mean by "like".  While RCS operations
on repository2 are certainly possible, modifications there will not
reflect in repository1.  Also, as RCS makes use of permission bits,
you would want to preserve them, too (i.e., use ‘cp -p -r OLD NEW’).