You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2008/06/16 18:43:50 UTC
SVN 1.5 Book [REVIEW] Chapter 5 | Section "Repository Replication"
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
--
SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen http://www.soebes.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: SVN 1.5 Book [REVIEW] Chapter 5 | Section "Repository Replication"
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi there,
sorry, but i was to fast with the send button...sorry for the confusion
about the help message...
sorry for that...
Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen http://www.soebes.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: SVN 1.5 Book [REVIEW] Chapter 5 | Section "Repository Replication"
Posted by "C. Michael Pilato" <cm...@red-bean.com>.
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 <cm...@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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org