Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 16:33:36 +0200
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        Jim Pingle <lists@pingle.org>
Cc:        re@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 9.1-RC1 Available...
Message-ID:  <wpy5kzozlr.fsf@heho.snv.jussieu.fr>
In-Reply-To: <50384172.3090706@pingle.org> (Jim Pingle's message of "Fri\, 24 Aug 2012 23\:07\:30 -0400")
References:  <1345697446.84337.11.camel@neo.cse.buffalo.edu> <20120823225855.U33776@sola.nimnet.asn.au> <1345729674.52121.4.camel@bauer.cse.buffalo.edu> <5036497F.7020501@icarz.com> <1345736581.27688.403.camel@revolution.hippie.lan> <50384172.3090706@pingle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Pingle <lists@pingle.org> writes:

> On 8/23/2012 11:43 AM, Ian Lepore wrote:
>> On Thu, 2012-08-23 at 11:17 -0400, Ken Menzel wrote:
>>>
>>> I found two good primers:
>>> http://mebsd.com/configure-freebsd-servers/update-freebsd-source-tree-using-subversion-svn.html
>>> http://www.freebsd.org/doc/en/articles/committers-guide/article.html#SUBVERSION-PRIMER
>>>
>>> The second primer in the committer handbook seems to indicate that it
>>> is difficult to run an SVN mirror. This appears to me to be the
>>> biggest drawback.  I have been using CVS and perforce for years,  but
>>> subversion is new to me. 
>> 
>> It may be difficult to run an svn mirror that allows you to commit
>> locally and get those changes back to the project, but running a
>> read-only mirror is trivial.  The script I run nightly from cron to sync
>> my local mirror is:
>> 
>>         #!/bin/sh
>>         #
>>         # svnsync to pull in changes from FreeBSD to my local mirror.
>>         #
>>         svnsync sync file:///local/vc/svn/base
>> 
>> I can't remember how I initially created and populated the mirror, but
>> it's likely I grabbed a snapshot of the mirror at work and brought it
>> home on a thumb drive (just to avoid initial network DL time).
>
> I spent a little time today setting up an SVN mirror after reading this
> thread and wrote up a how-to for those looking to do the same.
>
> http://www.pingle.org/2012/08/24/freebsd-svn-mirror
>
> Comments/Flames/Corrections welcome...

thanx; works out of the box for me (using the "svnserve_enable" path).

That said : I glanced at a diff of a stable/8 checkout both from
/home/ncvs repo and new /home/freebsd-svn one, and saw a (maybe well-known ..)
'feature' :

  diff ./src/contrib/amd/include/am_defs.h /raid1/bsd/8/src/contrib/amd/include/am_defs.h

 42c42
<  * $FreeBSD: stable/8/contrib/amd/include/am_defs.h 174299 2007-12-05 16:03:52Z obrien $
---
>  * $FreeBSD: src/contrib/amd/include/am_defs.h,v 1.15.2.1 2009/08/03 08:13:06 kensmith Exp $


I wondered why the date (and commiter ...) in the expansion were
different (from the svn log ): 

  ------------------------------------------------------------------------
  r196045 | kensmith | 2009-08-03 10:13:06 +0200 (Mon, 03 Aug 2009) | 4
  lines

  Copy head to stable/8 as part of 8.0 Release cycle.

  Approved by:    re (Implicit)

  ------------------------------------------------------------------------
  r174299 | obrien | 2007-12-05 17:03:52 +0100 (Wed, 05 Dec 2007) | 3
  lines


So the 'Copy head' chain does not update the $FreeBSD tag, whereas the
consequent svn to cvs chain does.

FYI, Arno



> Jim
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



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