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

Re: SVN 1.5 Book [REVIEW] Chapter 5 | Section "Repository Replication"

From: C. Michael Pilato <cmpilato_at_red-bean.com>
Date: Mon, 16 Jun 2008 14:58:41 -0400

Yes, in 1.5 you can mirror from a *source* URL that's not the root of that
repository. But the *destination* URL must always be the root of the
repository.

In other words, you can do this:

    svn init ROOT-URL-OF-DEST-REPOS ROOT-URL-OF-SRC-REPOS

and

    svn init ROOT-URL-OF-DEST-REPOS ROOT-URL-OF-SRC-REPOS/some/dir

but not these:

    svn init ROOT-URL-OF-DEST-REPOS/some/dir ROOT-URL-OF-SRC-REPOS
    svn init ROOT-URL-OF-DEST-REPOS/some/dir ROOT-URL-OF-SRC-REPOS/some/dir

Karl Heinz Marbaise wrote:
> Hi,
>
> I have found a little issue for the help message of the svnsync tool:
>
> in the book it's written:
>
> In Subversion 1.4, this is required—only full mirroring of repositories
> is permitted. In Subversion 1.5, though, you can use svnsync to mirror
> only some subtree of the repository, too.
>
> But when I try to get the help message about the CLI:
> ---------------
> svnsles9:~ # svnsync init --help
> initialize (init): usage: svnsync initialize DEST_URL SOURCE_URL
>
> Initialize a destination repository for synchronization from
> another repository.
>
> The destination URL must point to the root of a repository with
> no committed revisions. The destination repository must allow
> revision property changes.
> ---------------
> But this is not true, cause in SVN 1.5 you can use a subdirectory of the
> source_url ...
>
> So this should be put as a bug into the ISSUE data base ....
>
> Created an Issue #3219 for this...
>
>
> Kind regards
> Karl Heinz Marbaise

-- 
C. Michael Pilato <cmpilato@red-bean.com> | http://cmpilato.blogspot.com/
"The Christian ideal has not been tried and found wanting.  It has
  been found difficult; and left untried."  -- G. K. Chesterton
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-16 20:59:08 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.