[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: Johnathan Gifford <jgifford_at_wernervas.com>
Date: 2007-10-09 16:31:06 CEST

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.

Johnathan

>>> On Tue, Oct 9, 2007 at 7:52 AM, in message
<3E21200ECEE482468403BE9ED7E8935D8163@USDALSMBS04.ad3.ad.alcatel.com>,
"BUNBURY
Myles" <Myles.Bunbury@alcatel-lucent.com> 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.
>
>
> Thoughts?
>
> ---
>
> Myles Bunbury, P.Eng., BASc.
> Software Development Engineering Specialist
> Web Services Internal Venture
> Alcatel- Lucent
>
> Phone: (613) 784- 4325
> Fax: (613) 784- 8944
> Web: www.alcatel- lucent.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e- mail: users- unsubscribe@subversion.tigris.org
> For additional commands, e- mail: users-
help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 9 17:14:03 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.