On Thu, Feb 07, 2019 at 01:46:00PM -0500, Greg Troxel wrote: > Patrick Welche <[email protected]> writes: > > > $ cd /tmp > > $ mkdir foo > > $ cvs -d /tmp/foo init > > cvs [init aborted]: init to an existing repository is restricted to members > > of the group cvsadmin > > $ grep cvsadmin /etc/group > > $ ... > I just did "cvs -d /tmp/foo init" without creating foo first, and it > worked fine (netbsd-8). > > The error is about running init on an *existing* repository.
I mistakenly thought /tmp/foo would at least need to contain a CVSROOT directory to count as a repository. > As for the man page omission, maybe see if the bug is in upstream and > file a bug with them ;-) ? I can give it a go ;-) That is part of the point, "init" doesn't appear. > We could change the code to just not allow init of an existing dir at > all. ... and maybe https://wiki.netbsd.org/tutorials/how_to_setup_a_cvs_server/ which appears to do "mkdir mycompany" Thanks for the correct syntax (and to David), Patrick
