Skip to content
Felix S. Klock II edited this page Jul 28, 2013 · 1 revision
  1. If you are content with read-only access to the repository, you could use the http: protocol to connect to the repository.

% svn checkout https://trac.ccs.neu.edu/svn/larceny/trunk/larceny_src
* This has the benefit of not requiring you to use your CCIS password.
* (See also SvnHttpCheckout, which is meant to be the link we give to people outside of the Larceny developer team)
  1. If you wanted to check out the trunk on a CCIS Sun machine, then you issue the following command after logging into the machine.

% svn checkout file:///proj/will/pnkfelix/svn-archives/trunk/larceny_src
* This method accesses the repository directly via the host's filesystem (the `file:` protocol):
  1. To checkout the repository to a non-Sun machine, or any machine that isn't hooked into the CCIS NFS filesystem, use the svn+ssh: protocol:

% svn checkout \
  svn+ssh://login.ccs.neu.edu/proj/will/pnkfelix/svn-archives/trunk/larceny_src
* You can put any CCIS Sun machine in place of login.ccs.neu.edu in the above command line
* You will be prompted by ssh for your CCIS account password (more than once).  
  * You can avoid repeated password entry with some ssh magic that I don't want to attempt to document here;  see http://subversion.tigris.org/faq.html#ssh-auth-cache
* If your username on the client machine does not match the username on the server machine, you have two options for explicitly specifying your username
  * You can put your username into the protocol specification by putting _username_`@` immediately before the server name.  E.g., PnkFelix could write: 

svn+ssh://[email protected]/proj/will/pnkfelix/svn-archives/trunk/larceny_src
  * You could instead use the `--username` _arg_ option to `svn checkout`.  (There is also a `--password` _arg_ option if that appeals to you.)

Windows users will probably want to use one of:


A handy trick: PnkFelix can not remember the exact url for the repository. But if he already has one repository checked out (in, say, a directory named trunk-dev), he can easily rediscover the url with the command:


% grep url trunk-dev/.svn/entries

which prints the url to stdout in a format like:


   url="http://larceny.ccs.neu.edu/svn/trunk/larceny_src"

Alternately, JesseTov likes to use svn info on an existing working directory to find out its url.

Clone this wiki locally