info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: Support :ssh: method in CVS/Repository - How common


From: Bryce Nesbitt
Subject: PATCH: Support :ssh: method in CVS/Repository - How common
Date: Fri, 31 Mar 2006 20:28:24 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921

Dear CVS Folks;

I use a Java editor called IDEA, which includes cvs support.  But, it
won't play well with command line cvs.  IDEA creates an access method of
ssh:

    # cat CVS/Root CVS/Repository
   :ssh:address@hidden:/home/bryce/cvsbase
    gis/shpdiff

I'm curious if other tools use the same syntax?  I have included a patch
to CVS 1.12.13.1 which allows use of this method.  I could find no other
way (other than patching cvs) to get these two tools to work together. 
The developers of IDEA rejected the idea of switching to a
nongnu-compatible method.

                -Bryce Nesbitt


cvs diff -c5
cvs diff: Diffing .
Index: root.c
===================================================================
RCS file: /sources/cvs/ccvs/src/root.c,v
retrieving revision 1.124
diff -c -5 -r1.124 root.c
*** root.c      28 Feb 2006 13:10:11 -0000      1.124
--- root.c      1 Apr 2006 03:55:22 -0000
***************
*** 556,565 ****
--- 556,567 ----
            newroot->method = gserver_method;
        else if (!strcasecmp (method, "server"))
            newroot->method = server_method;
        else if (!strcasecmp (method, "ext"))
            newroot->method = ext_method;
+       else if (!strcasecmp (method, "ssh"))
+           newroot->method = extssh_method;
        else if (!strcasecmp (method, "fork"))
            newroot->method = fork_method;
        else
        {
            error (0, 0, "Unknown method (`%s') in CVSROOT.", method);
***************
*** 857,866 ****
--- 859,869 ----
        no_proxy = 0;
        /* no_password already set */
        break;
      case server_method:
      case ext_method:
+     case extssh_method:
        no_port = 1;
        /* no_password already set */
        check_hostname = 1;
        break;
      case pserver_method:
cvs diff: Diffing tests


-- 
----
Visit http://www.obviously.com/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]