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.
Clearly you have control over both repositories, since you are able to
move items from one to the other, so why have two repositories at
all? Just use one, then you can move the file from one part of the
repository to another without losing history. Indeed that's the
primary question you need to ask when deciding if projects will go
into the same repository or into separate repositories: will I need to
move files between these two projects without losing history?
// Ben
---------------------------------------------------------------------
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:15:39 CEST