FreeBSD 9.1-RC1 Available...

Chris Rees utisoft at gmail.com
Tue Aug 28 20:14:33 UTC 2012


On 28/08/2012, Arno J. Klaassen <arno at heho.snv.jussieu.fr> wrote:
> Jim Pingle <lists at 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.

That's because CVS does not consider tagging/branching a commit,
whereas Subversion does.

Chris


More information about the freebsd-stable mailing list