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

Re: Merging overlapping repos

From: Randall Meadows <svn-users_at_not-pc.com>
Date: 2007-10-19 20:07:28 CEST

At 5:56 PM -0500 10/11/07, Ryan Schmidt wrote:

>On Oct 11, 2007, at 14:20, Randall Meadows wrote:
>
>>I have a repo that I've been using while working for a client; the
>>client now wants to host a repo on their servers, and merge my work
>>with that of another programmer they have. None of my actual work
>>overlaps with the other programmer, but the structure of our repos
>>do. That is, both repos have, at their root:
>>[snip]
>>All the stuff in my "trunk" is different than what's in the other
>>"trunk". When I dump my repo and then load it into their repo,
>>will it merge correctly (that is, my "trunk" will NOT overwrite
>>their existing "trunk")?
>>
>>Or do I need to dump the *contents* of my "trunk", and then load
>>that into their "trunk"?
>
>[snip]
>If you have another ultimate structure in mind, you may still want
>to "svn mkdir" a new directory in their repository, "svnadmin load
>--parent-dir" your dump into that new directory. Then you can "svn
>mv" everything around until it suits you.

OK, I finally took the plunge and did the migration, into a temp
directory, and then moved it to the correct locations. It mostly
worked.

What I migrated was 2 repos, one containing work exclusive to my
client's work, and the other containing my "utility" code which I
used in the client code. The former worked just fine; the latter,
however, despite *appearing* to have worked (I see all the
transactions being added and the rev number increases), afterwards
the files are nowhere to be found. I used --parent-dir to load them
into my temp dir, and the folders containing the files are there, but
not the files themselves (there's only one level of hierarchy, and
the parent folders appear, but not the files in them).

I actually did this twice; once I did a clean check out of the new
repo and tried to build, it was readily apparent that some files were
missing, so I did it again; then I did an 'svn list', and still the
files were missing.

Now, this "utility" code of mine were defined as svn:externals to
some of the client code folders, but this shouldn't matter when
loading the repo from dumpfiles, right? It's not just that the files
are not being checked out, they simply don't exist in the repo.

Can anyone tell me what's up?

-- 
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 19 20:14:43 2007

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.