You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jo...@barclayscapital.com on 2011/10/11 19:49:46 UTC

Migrating files between two repositories without admin rights and preserving history

Hello to all,

I want to copy files between two repositories, to which I have access as a regular user but no as an admin, so I  face the following issues:

* Need to preserve the history (so export / import doesn't work)
* Don't have admin rights to svnadmin is out of the questions
* I don't want to sync the whole repository, just one directory inside (http://repo1/trunk/source/dir1 to http://repo2/trunk/source/dir1)

I saw in CPAN a module that does something similar called SVN::Pusher, but before trying something like that I wonder if someone can recommend another approach.

Thanks in advance,

--Jose

_______________________________________________

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.
_______________________________________________

Re: Migrating files between two repositories without admin rights and preserving history

Posted by Lorenz <lo...@yahoo.com>.
Daniel Shahaf wrote:
>Lorenz wrote on Thu, Oct 13, 2011 at 15:22:30 +0000:
>> [...]
>> anyways, I just read elsethread that dumpfilter does not work with the
>> dump format version that 1.7 uses.
>
>You misunderstood.
>
>svndumpfilter does not work with format 3 dumpfiles, produced by
>svnrdump and by 'svnadmin dump --deltas'.  Any version of svn can
>produce a format-2 dumpfile via 'svnadmin dump' without --deltas.

I stand corrected - should have reread the particular message 8-(

sorry for the confusion
-- 

Lorenz


Re: Migrating files between two repositories without admin rights and preserving history

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Lorenz wrote on Thu, Oct 13, 2011 at 15:22:30 +0000:
> <jo...@barclayscapital.com> wrote:
> >Thanks for your reply. Do you know if I need to have both SVN 1.7
> >on the client and server side, or is just enough with the client?
> 
> I don't think so
> 
> anyways, I just read elsethread that dumpfilter does not work with the
> dump format version that 1.7 uses.

You misunderstood.

svndumpfilter does not work with format 3 dumpfiles, produced by
svnrdump and by 'svnadmin dump --deltas'.  Any version of svn can
produce a format-2 dumpfile via 'svnadmin dump' without --deltas.

Re: Migrating files between two repositories without admin rights and preserving history

Posted by Lorenz <lo...@yahoo.com>.
<jo...@barclayscapital.com> wrote:
>Thanks for your reply. Do you know if I need to have both SVN 1.7
>on the client and server side, or is just enough with the client?

I don't think so

anyways, I just read elsethread that dumpfilter does not work with the
dump format version that 1.7 uses.


>Any other way that doesn't involve using brand new SVN?

svnsync allows to mirror a subtree of a repository
-- 

Lorenz


RE: Migrating files between two repositories without admin rights and preserving history

Posted by jo...@barclayscapital.com.
Lorenz,

Thanks for your reply. Do you know if I need to have both SVN 1.7 on the client and server side, or is just enough with the client?


Any other way that doesn't involve using brand new SVN?

Thanks!

--Jose

-----Original Message-----
From: Lorenz [mailto:lorenznl@yahoo.com] 
Sent: Wednesday, October 12, 2011 1:56 AM
To: users@subversion.apache.org
Subject: Re: Migrating files between two repositories without admin rights and preserving history

<jo...@barclayscapital.com> wrote:
>I want to copy files between two repositories, to which I have access as a regular user but no as an admin, so I  face the following issues:
>
>* Need to preserve the history (so export / import doesn't work)
>* Don't have admin rights to svnadmin is out of the questions
>* I don't want to sync the whole repository, just one directory inside (http://repo1/trunk/source/dir1 to http://repo2/trunk/source/dir1)

have a look at
http://subversion.apache.org/docs/release-notes/1.7.html#svnrdump
-- 

Lorenz

_______________________________________________

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.
_______________________________________________

Re: Migrating files between two repositories without admin rights and preserving history

Posted by Lorenz <lo...@yahoo.com>.
<jo...@barclayscapital.com> wrote:
>I want to copy files between two repositories, to which I have access as a regular user but no as an admin, so I  face the following issues:
>
>* Need to preserve the history (so export / import doesn't work)
>* Don't have admin rights to svnadmin is out of the questions
>* I don't want to sync the whole repository, just one directory inside (http://repo1/trunk/source/dir1 to http://repo2/trunk/source/dir1)

have a look at
http://subversion.apache.org/docs/release-notes/1.7.html#svnrdump
-- 

Lorenz