Borges is designed to integrate flawlessly into a CVS environment. We will detail here the initial procedure to start a new project with CVS support and look in detail how to use this new repository with CVS.
The principle is quite straightforward: you create an initial repository, you import it to a CVS server, and voilą! We will detail here the steps up to the point where you add your first document to the project.
First of all you must have a working CVS repository and access to it. If your organization does provide one to you ask for access to it and set the CVSROOT environment variable accordingly. If not it is quite easy to create a local CVS repository, refer to your CVS documentation and set the CVSROOT environment variable.
Create a new project skeleton
This is the same command as usual, we're here creating a project in ~/my_doc/ with French as default language:
/usr/share/Borges/bin/configure ~/my_doc/ fr
Import the project skeleton to the CVS repository:
Borges povides a special wrapper to perform that task:
cd ~/my_doc/ ; make cvsinit PROJECT=MyNewProject
You will see all files being added to the CVS. Ones this is done you have to retrieve your own copy of the CVS module MyNewProject that has just been created.
Checkout the new CVS module to start working
Make sure the CVSROOT variable is properly set. We will checkout our local copy of the New project in ~/cvs/:
cd ~/cvs/ cvs checkout MyNewProject
Initialize the new copy
The last step consists in preparing this working copy so that you can use it as any other Borges project:
cd MyNewProject ./configure
All is now ready, you can add your first document to the system. Read the next section to learn the changes that occur in Borges working with CVS