Uttered Karsten Wade <kwade@xxxxxxxxxx>, spake thus: > Someone here can correct me, but I believe you do this: > echo $CVSROOT > :ext:username@xxxxxxxxxxxxxxxxxxxxx:/cvs/docs > cvs co -r FC-5-TEST1-TRANS-FREEZE -d release-notes-FC5test1 release notes You need not muck with $CVSROOT for a one-time checkout. Assuming that $CVS_RSH is set to: $ export CVS_RSH=ssh you can first do: $ cvs -d :ext:username@xxxxxxxxxxxxxxxxxxxxx:/cvs/docs co \ -r FC-5-TEST1-TRANS-FREEZE -d release-notes-FC5test1 \ release_notes $ cd release-notes-FC5test1 and then $ cvs update --or-- $ cvs commit to your heart's content needing neither "$CVSROOT" nor "-d $CVSROOT" again, as long as your $PWD is "release-notes-FC5test1" or deeper. I use a small shell script, "cvs-fdp": ==CUT===CUT===CUT===CUT===CUT===CUT===CUT===CUT== #!/bin/sh CVS_RSH=ssh export CVS_RSH exec cvs -d :ext:username@xxxxxxxxxxxxxxxxxxxxx:/cvs/docs $@ ==CUT===CUT===CUT===CUT===CUT===CUT===CUT===CUT== and then use it like this: $ cvs-fdp co -d release-notes-FC5test1 release_notes -r \ FC-5-TEST1-TRANS_FREESZE I use this technique for every CVS repository I deal with. Goodbye $CVSROOT, you are evil! Cheers
Attachment:
pgpD0pHjqicAC.pgp
Description: PGP signature
-- fedora-docs-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list