This page is outdated. You will be redirected to http://wiki.services.openoffice.org /wiki/Documentation/FAQ shortly.

Documentation / User FAQ / Maintainers' FAQ / Previous-Next

How can I use the CVS template?

A template pops up by default if you use the second method, with no -m "comments" in the commit command. That template can be setup with placemarkers for information or with instructions.

  1. After you establish a tunnel, minimize that first terminal. Use it to close the tunnel when you are done moving files to or from the site. You will not work in the terminal where you established the tunnel. Open a second working terminal to perform your work in CVS.
  2. Type pwd in the working terminal to verify that you are in your home directory.
  3. Use the change directory cd command in the second terminal to move to the directory of the file or folder you wish to commit.
  4. To allow a more formatted description of the change, use a modified version of this same command to pull up a CVS template. Type
    cvs -d :pserver:username@projectname.domain.net:/cvs commit [projectname]
    in the working terminal, where:

    After you press enter, a cvs template will pop up in vi, a Unix text editor. Type A to begin the Insert mode at the end of the first line. Notice Insert shows at the bottom of the form during this mode. Add your entry. Use the arrow keys to drive around the template. The lines that begin with CVS are informative, and will not show as part of your commits. When your edits are complete, press the Esc key to leave the Insert mode. Type :wq to write and quit the cvs template. The template closes and the commit process continues in the working terminal window.

  5. The commit is complete when your cursor comes back in the working terminal.

Examples of the commit command for user zzzzzz, (assuming pwd = /home/zzzzzz) that will pull up and use the template that resides in each CVS directory.

For more information:

Documentation / User FAQ / Maintainers' FAQ / Previous-Next