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

Re: Add SVN subset to the main superset

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 29 Sep 2011 08:42:58 -0400

On Thu, Sep 29, 2011 at 06:58, rmp8427_at_googlemail.com
<rmp8427_at_googlemail.com> wrote:
> Hi there,
> I like to use SVN for my documents and backup my data. In major I use my
> USB-Stick for this which has a repository, but once a week I want to give
> all the revisions / commits (not only the head) made on the stick to a major
> repository.
> How do I do that?
> --
> In detail:
> I have a major repository on a big external drive. And a latest subset on my
> stick always with me.
> If the stick runs full I delete everything and get the 10 latest revisions:
>
> "svnadmin dump -revision 90:100 > Latest.dump" (if 100 is the HEAD)
> "svnadmin create MyRepository"
> "svnadmin load MyRepository < Latest.dump"
>
> And I update and commit only on stick for a week (lets say my head-revision
> will be 120 then).
> At weekend I like to give those commits made on the stick to the main
> repository on the external.
> What will be the command for it?

I think Subversion may not be the best fit for your usage. What you
describe is very easy (from that I understand) with a DVCS like Git or
Mercurial - they're basically designed to be used in this way, while
Subversion isn't.

Perhaps a hybrid approach with git-svn?
Received on 2011-09-29 14:44:11 CEST

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.