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

Re: Move a single file to a different repository with its history

From: David Partain <david.partain_at_ericsson.com>
Date: Mon, 18 Aug 2008 13:25:35 +0200

Greetings,

On Monday 18 August 2008 13.15.08 Benjamin Smith-Mannschott wrote:
> On Aug 18, 2008, at 13:05, David Partain wrote:
> > Hi,
> >
> > I'd really like to be able to use external repositories as a way of
> > keeping
> > code shared between multiple repositories. The problem I have is
> > that I
> > don't always know in advance what code should be in the shared
> > repository
> > (that others suck in on a checkout). That means I need to be able
> > to move a
> > file -- with its history intact -- from one repository to another if
> > it
> > becomes clear that it should be in the shared repository.
> >
> > So, is there an easy way to move a single file from one repo to
> > another while
> > maintaining its history?
> >
> > I know this can be done with svnadmin dump and grunking about in the
> > result,
> > but I'm hoping there is an easier way. Any hints would be
> > appreciated.
>
> There is no easier way.

OK, thanks for confirming what I had deduced myself.

Unfortunately, it's not possible to put everything in one repository since
access rights are different for people who need to get access to the shared
code (i.e., bits of the code other than the shared code are not accessible to
everyone).

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-18 13:26:03 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.