You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@newton.ch.collab.net> on 2001/03/15 07:09:40 UTC

First Contact

Big news, everyone.  For the first time ever, the svn client has
communicated with an svn repository.

If you want to try checking out a working copy:

1.  update your working copy, `make clean && make`. 

2.  in the subversion/ dir, `make check`.  Among many tests, an fs
    repository will be created in tests/libsvn_fs/ somewhere which
    contains a full greek tree.

3.  cd into client and run ./svn with two arguments:

    --target-dir my_working_copy   (or whereever you want the wc)

    --ancestor-path file://localhost/absolute/path/to/repos/

The name of the repos you want is tests/libsvn_fs/test-repo-basic-commit.

For example, on my own box, I typed:

[sussman@piggy:~/projects/subversion/subversion/client]$ ./svn co
--target-dir foo --ancestor-path file://localhost/home/sussman/projects/subversion/subversion/tests/libsvn_fs/test-repo-basic-commit/A

And this actually checked out subdir `A' from the repository.
Experiment as you wish.  :)

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.

Re: First Contact READ THIS BEFORE YOU BUILD

Posted by Greg Stein <gs...@lyra.org>.
On Fri, Mar 16, 2001 at 03:37:18PM -0500, Kevin Pilch-Bisson wrote:
> On Fri, Mar 16, 2001 at 12:14:30PM -0800, Greg Stein wrote:
> > On Thu, Mar 15, 2001 at 09:00:27AM -0500, Kevin Pilch-Bisson wrote:
> > > Also note that it will not work unless you configure with
> > > --disable-shared, since we can't dynload the libtool libs.
> > 
> > You should be able to "make install" to get the shared libs copied to
> > /usr/local/lib, and have it work. Of course, I haven't tried it :-), but
> > that is a required first step. For testing mod_dav_svn, I need to get a
> > number of the libs installed.
> 
> Of course, I meant without doing the install.  Should have been clearer
> I guess.  This brings up an interesting point.  If it hasn't been
> changed client/Makefile.am has svn in noinst_PROGRAMS, so it wouldn't be
> installed.  I am going to change it to a bin program since we are
> nearing the point were people will actually want to install it.  What
> about svnadmin, should it be in bin or sbin?

sbin. Only administrators will be using it.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Re: First Contact READ THIS BEFORE YOU BUILD

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Fri, Mar 16, 2001 at 12:14:30PM -0800, Greg Stein wrote:
> On Thu, Mar 15, 2001 at 09:00:27AM -0500, Kevin Pilch-Bisson wrote:
> > Also note that it will not work unless you configure with
> > --disable-shared, since we can't dynload the libtool libs.
> 
> You should be able to "make install" to get the shared libs copied to
> /usr/local/lib, and have it work. Of course, I haven't tried it :-), but
> that is a required first step. For testing mod_dav_svn, I need to get a
> number of the libs installed.

Of course, I meant without doing the install.  Should have been clearer
I guess.  This brings up an interesting point.  If it hasn't been
changed client/Makefile.am has svn in noinst_PROGRAMS, so it wouldn't be
installed.  I am going to change it to a bin program since we are
nearing the point were people will actually want to install it.  What
about svnadmin, should it be in bin or sbin?
> 
> Cheers,
> -g
> 
> -- 
> Greg Stein, http://www.lyra.org/
> 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: First Contact READ THIS BEFORE YOU BUILD

Posted by Greg Stein <gs...@lyra.org>.
On Thu, Mar 15, 2001 at 09:00:27AM -0500, Kevin Pilch-Bisson wrote:
> Also note that it will not work unless you configure with
> --disable-shared, since we can't dynload the libtool libs.

You should be able to "make install" to get the shared libs copied to
/usr/local/lib, and have it work. Of course, I haven't tried it :-), but
that is a required first step. For testing mod_dav_svn, I need to get a
number of the libs installed.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Re: First Contact READ THIS BEFORE YOU BUILD

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
Also note that it will not work unless you configure with
--disable-shared, since we can't dynload the libtool libs.

On Thu, Mar 15, 2001 at 02:43:46AM -0600, B. W. Fitzpatrick wrote:
> 
> Congratulations Ben (and to all of us)! This is a great first step.

Indeed!!!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~