Showing posts with label CVS. Show all posts
Showing posts with label CVS. Show all posts

What is the difference between :ssh: and :ext:?

Both these protocols normally use the SSH (Secure Shell) protocol to communicate with the CVS server, meaning that your passwords and data are safe from eavesdroppers (although :ext: can be configured to use other protocols as well).

The difference is that :ssh: uses an SSH client built into CVSNT, while :ext: relies on an external SSH client. If you use CVS from the command line, :ssh: has the advantage that you do not need any other software. Since TortoiseCVS already comes with its own SSH client, there is nothing gained from preferring :ssh:. Additionally, at least some versions of CVSNT have problems communicating with non-CVSNT servers, such as those used on the majority of UNIX servers.

Another important point is that it is not possible to configure :ssh: to use another port etc. in the Preferences dialog of TortoiseCVS. That dialog applies only to :ext:. Therefore, we recommend that you always use :ext: instead of :ssh:.

Eclipse SSH and extssh

A couple of days ago, I found I could not use Tortoise CVS to work with CVS repository, after I replacing all "extssh" with "ext" in all Root, it's working.

Today, I found Eclipse is not working with CVS repository, and here is the fix:

Preferences->Team->CVS->Ext connection Method->Choose "Use another connection method type to connect", and select Connection type as "extssh".

CVS commands

check out a project/module:
cvs co -r dbeurope-q57-branch db-cheque
cvs -d $CVSROOT checkout -r "$EUROPE_BRANCH" "$CVSMODULE"

-r tag: revision tag
-R: recursive, default is on.
-d dir:


CVS commands

cvs --help-commands: list all cvs commands
cvs -H : show options for command
cvs -d :ext:$hliu@jupiter:/var/local/devcvs checkout create_eclipse_iach_environment
---this will login to juipter using user name 'hliu', go to folder /var/local/devcvs, and checkout folder "create_eclipse_iach_environment".
rtag -r dbeurope-pts2-branch EUROPE_10_3_0_8_2010_08_12 DBPayments