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.
- 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.
- Type
pwd
in the working terminal to verify that you are in your home directory. - Use the change directory
cd
command in the second terminal to move to the directory of the file or folder you wish to commit. - 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:username
is your openoffice.org user login,projectname.domain.net
is the path to where the file lives, and[projectname]
is the name of a file or directory in the CVS file server.
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. - 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.
- Type
cd documentation/www/faqs
Type
cvs -d :pserver:zzzzzz@localhost:/cvs commit index.html
in the second terminal to update only the index page from faqs directory. - Type
cd marketing/www
Type
cvs -d :pserver:zzzzzz@localhost:/cvs commit index.html
in the second terminal to update only the index page from marketing project directory. - Type
cd qa/www
Type
cvs -d :pserver:zzzzzz@localhost:/cvs commit index.html
in the second terminal to update only the index page from qa project directory.
For more information: