On 3/14/07, Andy Levy <email@example.com> wrote:
> On 3/14/07, Andrew Close <firstname.lastname@example.org> wrote:
> > Hi all,
> > we're currently using VSS and are planning on migrating to SVN. at
> > the moment we have one project using SVN and the rest of the company
> > is still using VSS; we're the guinea pigs. :)
> > one problem we're facing is that some of the code we're using
> > straddles VSS and SVN.
> > Project A started a new codebase in SVN composed of some existing code
> > and lots of new code. Project B is production code that still lives
> > in VSS for the rest of the dev team to carry on with their normal
> > tasks. when team B deploys to production team A wants to merge the
> > updates into their codebase so they don't fall too far out of sync.
> > this is really a simplification of what's currently going on, but i
> > think illustrates our problem.
> > what we've attempted to do is create a branch in SVN off of the
> > Project A codebase. checkout branch A' to a local workspace. overlay
> > the A' workspace with the source from the VSS repository and
> > add/commit so that A' now matches what came from VSS. we then attempt
> > to merge branch A' with A, but the merge appears to just overwrite the
> > code in A with A' even though there should be conflicts that need
> > resolving.
> People will be able to give you a lot more specific advice if you
> provide the actual merge command you're using.
> I'm guessing you're probably using svn merge <branch A> <A> where you
> should be using svn merge -rLAST_REV_BEFORE_LATEST_VSS:HEAD <branch A>
> Think of merge as "calculate what changed on <branch A> between these
> 2 revisions and apply that to <A>".
thank you for the reply.
originally i was using TortoiseSVN to do the merge. after your email
i switched to the cli and tried the command you mentioned. let me
walk you through the steps:
i checked out the branch that i wanted to merge the VSS code into
into a fresh workspace. this branch is at version 32.
i copied the code from the VSS branch and pasted it on top of my
version 32 SVN branch. this added several new files and modified many
i committed these changes and am now at version 35.
from the cli i tried - C:\>svn merge -r 32:35 c:\testworkspace@35
assuming that this would take the source from version 32 and merge it
into version 35 generating several conflicts that i would need to
however, several files were added and many more were modified, but i
didn't see any conflicts. so it looks like the merge just overlaid
the source instead of merging it.
is there a step i'm missing in there somewhere? or am i not
completing the process? (leaving off a step at the end)
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Mar 15 18:54:16 2007