Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 20:24:47 +0400
From:      Gennady Proskurin <gprspb@mail.ru>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        src-committers@freebsd.org, Andre Oppermann <andre@freebsd.org>, Peter Wemm <peter@wemm.org>, John Baldwin <jhb@freebsd.org>, svn-src-all@freebsd.org, David Chisnall <theraven@freebsd.org>, svn-src-head@freebsd.org, Tijl Coosemans <tijl@freebsd.org>, Julian Elischer <julian@freebsd.org>, Warner Losh <imp@bsdimp.com>
Subject:   Re: svn commit: r251886 - in head: contrib/apr contrib/apr-util contrib/serf contrib/sqlite3 contrib/subversion share/mk usr.bin usr.bin/svn usr.bin/svn/lib usr.bin/svn/lib/libapr usr.bin/svn/lib/libap...
Message-ID:  <20130620162447.GB913@gpr.nnz-home.ru>
In-Reply-To: <0934C957-D21E-4DEA-8E4B-FEA396B57490@gsoft.com.au>
References:  <11DA3D8A-AD20-4DE1-B807-D09814F61947@bsdimp.com> <51C1C7BD.9060201@FreeBSD.org> <201306191113.29703.jhb@freebsd.org> <A5DB9B17-9622-4F65-A902-4984CDD82DC3@FreeBSD.org> <8D00BE2B-FD8E-4E7B-B818-1C4B7F6BB6A5@bsdimp.com> <F96228E4-16C3-4238-B54B-7E7C0C08B95B@FreeBSD.org> <51C2FF16.5080005@freebsd.org> <DA45DD0A-8576-4371-83EF-B3311AC067BA@FreeBSD.org> <51C304C0.5060208@freebsd.org> <0934C957-D21E-4DEA-8E4B-FEA396B57490@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 20, 2013 at 11:49:13PM +0930, Daniel O'Connor wrote:
> 
> On 20/06/2013, at 23:03, Julian Elischer <julian@freebsd.org> wrote:
> >> And do you think that the sort of user who is sufficiently engaged with the project to do this is the sort of user who would not be willing to do so if it meant installing the subversion port?  If so, then there is a clear case for svnlite.
> > 
> > I think that it lowers the barrier.. once you start bringing ports into the picture you start running the risk of port revision hell.
> 
> 
> If there is a statically linked port & corresponding package then the barrier is almost as low, but has a few other advantages that other people have listed.
> 
> That approach has a small footprint (binary + man page), is always up to date (so the VCS infrastructure is not tied to the earliest version of SVN) and doesn't have any dependencies.

svnlite (1.8.0-rc3 in base system) and subversion (1.7.10 from ports) are not
interoperable, they create incompatible repositories (at least by default).
Not a problem for me personally, I use git mirrors, just my 5 cents.
Details below.


Here the freebsd repo checked out by subversion port
> svn info
Path: .
Working Copy Root Path: /usr/src/freebsd-head.svn
URL: http://svn.freebsd.org/base/head
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 245668
Node Kind: directory
Schedule: normal
Last Changed Author: joel
Last Changed Rev: 245667
Last Changed Date: 2013-01-19 11:07:05 +0400 (Sat, 19 Jan 2013)

Now trying to work with svnlite:
> svnlite info
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: The working copy at '/usr/src/freebsd-head.svn'
is too old (format 29) to work with client version '1.8.0-rc3 (Release Candidate 3)' (expects format 31). You need to upgrade the working copy first.


Creating repo with svnlite and trying to run svn on it:
> svnlite co http://svn.freebsd.org/base/head/bin/cat
A    cat/Makefile
A    cat/cat.1
A    cat/cat.c
Checked out revision 252033.
> cd cat
> svnlite info
Path: .
Working Copy Root Path: /tmp/src-test/cat
URL: http://svn.freebsd.org/base/head/bin/cat
Relative URL: ^/head/bin/cat
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 252033
Node Kind: directory
Schedule: normal
Last Changed Author: eadler
Last Changed Rev: 249804
Last Changed Date: 2013-04-23 17:03:11 +0400 (Tue, 23 Apr 2013)

> svn info
svn: E155021: This client is too old to work with the working copy at
'/tmp/src-test/cat' (format 31).
You need to get a newer Subversion client. For more details, see
  http://subversion.apache.org/faq.html#working-copy-format-change




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130620162447.GB913>