Contents |
ignore .cvsrc
$ cvs -f
cvs -d </path_which_should_have_CVSROOT> init
example:
cvs -d /home/schmid/cvs/ init
cd <project dir>
cvs -d <server:/path_which_has_CVSROOT> import -m "message"
<repos_name> <vendor_id> <release_tag>
example:
cd cpp
cvs -d alvis:/home/schmid/cvs import -m "cpp imported into CVS" cpp js start
cvs -d (server:/path_which_has_CVSROOT> co <repos_name>
example:
cvs -d alvis:/home/schmid/cvs co cpp
$ cvs log file.txt
RCS file: /home/schmid/cvs/something/file.txt,v Working file: file.txt head: 1.6 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: -------------- revision 1.3 <- this is the one we date: 2004/09/05 13:36:35; author: schmid; state: Exp; lines: +65 -1845 want to remove "sylte" -------------- revision 1.2 ...
$ cvs up -r 1.2 file.txt
$ cvs admin -o 1.3 file.txt
copy all the relevant dotfiles from your homedir to a temporary directory:
mkdir dotfiles_tmp
cp .muttrc dotfiles_tmp
...
mv .muttrc muttrc
...
cvs -d alvis:/home/schmid/cvs -m "something" import dotfiles js start
cd ..
mv dotfiles_tmp trash
cvs -d alvis:/home/schmid/cvs co .dotfiles dotfiles
cd .dotfiles
for f in *;do rm -fr /home/schmid/.$f;ln -s /home/schmid/.dotfiles/$f /home/schmid/.$f;done