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

Re: Copying a single project from a local laptop repository to our servers repository

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-27 20:30:53 CEST

On Jun 27, 2006, at 16:05, Mark Lacas wrote:

> I've scoured the subversion book and the past posts to this list
> but have not found what I am looking for.
> I have been working on a project solely on my laptop (MacBook) with
> a local svn and repository with other projects.
> What I want to do is to copy the project I'm working on from my
> local MacBook repository to a central (remote) server.
> The server already has a repository with other projects that I
> don't want to lose, I only want to copy the one local project from
> my laptop to the main server.
> I don't really want to stop using the local repository for my work,
> I really just want to have the latest snapshot on the server for
> users to peruse and for backup.
> Is this covered somewhere and I'm just not finding it, or is it bad
> practice?

You can "svnadmin dump" your laptop's repository and "svnadmin load"
it into the central repository.

Or, if you don't care about the history of your repository, you can
"svn export" the head of your repository and "svn import" it into the
central repository.

Both methods are good for one-time transfers of projects from one
place to the other. If you want to now continue using your laptop
repository, and later bring the central repository up to date with
the new changes you've made, I think you've got a lot more fun in store.

There is another project, svk, which is based on svn, which is
designed to allow multiple repositories to coexist with one another.
Perhaps that's what you're looking for.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 27 20:35:42 2006

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.