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

Re: Newbie question - Commit same file to two repositories?

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2006-02-14 17:16:41 CET

On Tue, 14 Feb 2006 09:38:05 -0500, "Peter Jakab" <jakab@rogers.com>
wrote:

>1) A repository on my laptop, so as I make changes on the road (with
> no internet access) I can keep in control of my changes.
>2) A repository on my server somewhere in the office, so when I come
> back from my trip I can take my latest committed code and commit it
> to that repository.
>
>Is this possible? If so what would be the best way to set this up.

How important is the history of the changes you make when you are
away? If you need them, you need svk - http://svk.elixus.org/

If no idea if the following will work, but if you can throw away the
history of the changes you make out of the office, you could try
messing around with the SVN_ASP_DOT_NET_HACK -
http://subversion.tigris.org/svn_1.3_releasenotes.html#_svn-hack.

I'm thinking of;

1. Checkout wc from office repository. Meta data stored in .svn.
2. Enable SVN_ASP_DOT_NET_HACK. Checkout wc from local repos in the
same folder. Meta data stored in _svn.
3. Work on local repos, committing changes, etc. to local repository
(using the _svn directory).
4. Return to office, disable SVN_ASP_DOT_NET_HACK, and commit the
chanegs you've made as one large chunk to the office repository, using
the .svn directory.

OK, you'll lose any meta-data changes to the files, but it may be
easier to setup than svk.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 14 17:21:00 2006

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