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

Re: Repository snapshot

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-10 05:30:53 CEST

On Oct 9, 2007, at 09:31, Johnathan Gifford wrote:

> BUNBURY Myles wrote:
>
>> Periodically I run into the following scenario. What is the best (ie.
>> quickest/simplest/least error prone) way to accomplish this?
>>
>>
>> I am connected to two separate, independent SVN repositories, A & B.
>>
>> I only have read access to repository A. I have read & write
>> access to
>> Repository B.
>>
>> Repository A has periodic commits as others make changes to the
>> source.
>> I also make some changes to the code in repository A; however,
>> these are
>> not committed to repository A since I don't have write access.
>>
>> To backup & keep track of the changes I make to repository A, I
>> periodically commit my working copy of repository A to repository B.
>> Repository B therefore becomes a snapshot of repository A, reflecting
>> all the 'official' changes made to repository A plus my own custom
>> changes. I'm looking for a quick, simple, and human error
>> resistant way
>> to accomplish this. Effectively, I want to tell SVN to make
>> repository B
>> look like my working copy of repository A, and therefore have SVN
>> automatically do whatever adds/deletes/modifies are necessary to
>> achieve
>> this.
>
> Basically, you want to 'shelve' your working copy. To do this want to
> do an svn copy to goes from WC --> URL.
>
> http://svnbook.red-bean.com/en/1.4/svn.ref.svn.c.copy.html
>
> There is an example at the above link to do this with a single file.
> If you do this from the root directory of your working copy, you
> can do
> the whole working copy structure. Most GUI's cannot do this.
> TortoiseSVN can though. Otherwise, you can do this from the command
> line.

Won't work, Johnathan. He's asking how to take content from one
repository and commit it to another repository. That's not how
Subversion works. He probably does need to look into another tool,
like SVK, as Erik suggested.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 10 05:33:31 2007

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

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