[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: First Contact READ THIS BEFORE YOU BUILD

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2001-03-15 09:43:46 CET

Congratulations Ben (and to all of us)! This is a great first step.

> P.S. Yes, the argument names are stupid and exist for hysterical
> raisins. Semantically, we're talking about the two args that are
> *both* called `-d' in CVS. We need to shorten them somehow.

OK. After an excited conversation with Ben, I fixed up the client and
checked in my changes), and as a result, the calling conventions for
an svn checkout have changed.

- There is no longer a flag for the 'ancestor-path'. It is a non-file
  argument to the checkout command. This is The Right Thing. :)
- the destination directory is now specified using '--destination' or
  just '-d'.

So now you can do this (and yes, this is cut-and-paste from a shell on
my box):

$ ./svn co file://localhost/home/bwf/svn-repo -d foo
Repos: /home/bwf/svn-repo, Path:
    A foo/A
    A foo/A/B
    A foo/A/B/lambda
    A foo/A/B/E
    A foo/A/B/E/alpha
    A foo/A/B/E/beta
    A foo/A/B/F
    A foo/A/mu
    A foo/A/C
    A foo/A/D
    A foo/A/D/gamma
    A foo/A/D/G
    A foo/A/D/G/rho
    A foo/A/D/G/pi
    A foo/A/D/G/tau
    A foo/A/D/H
    A foo/A/D/H/chi
    A foo/A/D/H/omega
    A foo/A/D/H/psi
    A foo/iota
    $

or this:

    $ ./svn co file://localhost/home/bwf/svn-repo/A/D -d
    bar
    Repos: /home/bwf/svn-repo, Path: /A/D
    A bar/gamma
    A bar/G
    A bar/G/rho
    A bar/G/pi
    A bar/G/tau
    A bar/H
    A bar/H/chi
    A bar/H/omega
    A bar/H/psi
    $
-Fitz
Received on Sat Oct 21 14:36:26 2006

This is an archived mail posted to the Subversion Dev mailing list.