You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alexander Malysh <a....@centrium.de> on 2003/07/09 15:17:54 UTC

[PATCH] make svnadmin load --parent-dir XY working

Hi,

attached you can find a patch, that makes svnadmin load --parent-dir XY 
working for tags/branches.
Just a simple case (assume you have working repository with tags or branches 
in it):
svnadmin create /path/to/repo2
svn mkdir /path/to/repo2/newparent
svnadmin dump /path/to/liverepo | svnadmin load --parent-dir newparent 
/path/to/repo1

Without attached patch, you will get a error for your tags/branches about path 
XY can't be found.

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___________________________________________

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Re: [PATCH] make svnadmin load --parent-dir XY working

Posted by Paul L Lussier <pl...@lanminds.com>.
In a message dated: Wed, 09 Jul 2003 17:17:54 +0200
Alexander Malysh said:

>Hi,
>
>attached you can find a patch, that makes svnadmin load --parent-dir XY 
>working for tags/branches.

Hi,

Any reslution on this yet, or should I file an issue for it?

Thanks,

-- 

Seeya,
Paul



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] make svnadmin load --parent-dir XY working

Posted by Alexander Malysh <a....@centrium.de>.
Hi,

On Wednesday 09 July 2003 17:48, Ben Collins-Sussman wrote:
> Alexander Malysh <a....@centrium.de> writes:
> > attached you can find a patch, that makes svnadmin load --parent-dir XY
> > working for tags/branches.
> > Just a simple case (assume you have working repository with tags or
> > branches in it):
> > svnadmin create /path/to/repo2
> > svn mkdir /path/to/repo2/newparent
> > svnadmin dump /path/to/liverepo | svnadmin load --parent-dir newparent
> > /path/to/repo1
> >
> > Without attached patch, you will get a error for your tags/branches
> > about path XY can't be found.
>
> $ svnadmin help load
> load: usage: svnadmin load REPOS_PATH
> [...]
> Valid options:
>   --ignore-uuid            : ignore any repos UUID found in the stream.
>   --force-uuid             : set repos UUID to that found in stream, if
> any. --parent-dir arg         : load at specified directory in repository
>
>
> I'm so confused... why on earth does 'svnadmin load' have a
> --parent-dir argument at all?  We already have 'svndumpfilter' for this.

hmm, svndumpfilter doesn't have such option. And as long it is not here , 
would be greate to have this option in svnadmin (imho). Later if it done with 
svndumpfilter you can always get rid of it...

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___________________________________________

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: [PATCH] make svnadmin load --parent-dir XY working

Posted by Philip Martin <ph...@codematters.co.uk>.
Ben Collins-Sussman <su...@collab.net> writes:

> I'm so confused... why on earth does 'svnadmin load' have a
> --parent-dir argument at all?  We already have 'svndumpfilter' for
> this.

--parent-dir was added before svndumpfilter.  It could move, but that
obviously requires someone to move it.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] make svnadmin load --parent-dir XY working

Posted by Ben Collins-Sussman <su...@collab.net>.
Alexander Malysh <a....@centrium.de> writes:

> attached you can find a patch, that makes svnadmin load --parent-dir XY 
> working for tags/branches.
> Just a simple case (assume you have working repository with tags or branches 
> in it):
> svnadmin create /path/to/repo2
> svn mkdir /path/to/repo2/newparent
> svnadmin dump /path/to/liverepo | svnadmin load --parent-dir newparent 
> /path/to/repo1
> 
> Without attached patch, you will get a error for your tags/branches
> about path XY can't be found.


$ svnadmin help load
load: usage: svnadmin load REPOS_PATH
[...] 
Valid options:
  --ignore-uuid            : ignore any repos UUID found in the stream.
  --force-uuid             : set repos UUID to that found in stream, if any.
  --parent-dir arg         : load at specified directory in repository


I'm so confused... why on earth does 'svnadmin load' have a
--parent-dir argument at all?  We already have 'svndumpfilter' for this.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] make svnadmin load --parent-dir XY working

Posted by Philip Martin <ph...@codematters.co.uk>.
Alexander  Malysh <a....@centrium.de> writes:

> attached you can find a patch, that makes svnadmin load --parent-dir XY 
> working for tags/branches.

Thanks, I committed a slightly modified version in r6436.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org