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

RE: Problem with svn merge --reintegrate

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 7 Dec 2010 09:49:31 -0500

> > > Hello World,
> > >
> > > I have implemented a feature into our product. To not break
> things
> > > for the other developers, I used a feature branch as described
> in
> > > the svn book. Now my implementation is complete, so I want to
> merge
> > > my branch back to trunk. In a fully updated working copy of the
> > > trunk (with no locales changes), I do:
> > >
> > > J:\QUARTIS\_dev>svn merge --reintegrate
> > >
> http://srv2.metromec.local:8080/svn/QUARTIS/shelves/ATs/PROGPersist
> > > ence/_dev --dry-run
> > >
> > > which gives me:
> > >
> > > Reintegrate can only be used if revisions 13561 through 15007
> were
> > > previously
> > > merged from
> http://srv2.metromec.local:8080/svn/QUARTIS/trunk/_dev
> > > to the
> > > reintegrate source, but this is not the case:
> > >
> shelves/ATs/PROGPersistence/_dev/src/include/FilterLibrary/Test/Tes
> > > tDataGenerator
> > > Missing ranges:
> > >
> /trunk/_dev/src/include/FilterLibrary/Test/TestDataGenerator:13561-
> > > 15003
> > >
> shelves/ATs/PROGPersistence/_dev/src/include/FilterLibrary/Test/Tes
> > > tFilterLibrary.res
> > > Missing ranges:
> > >
> /trunk/_dev/src/include/FilterLibrary/Test/TestFilterLibrary.res:13
> > > 561-15003
> > >
> shelves/ATs/PROGPersistence/_dev/src/include/FilterLibrary/Test/Tes
> > > tMeasureElementDataInOut.pas
> > > Missing ranges:
> > >
> /trunk/_dev/src/include/FilterLibrary/Test/TestMeasureElementDataIn
> > > Out.pas:13561-15003
> > >
> shelves/ATs/PROGPersistence/_dev/src/include/FilterLibrary/Test/Tes
> > > tMeasureElementGaussFIRFilter.pas
> > > Missing ranges:
> > >
> /trunk/_dev/src/include/FilterLibrary/Test/TestMeasureElementGaussF
> > > IRFilter.pas:13561-15003
> > >
> shelves/ATs/PROGPersistence/_dev/src/include/FilterLibrary/Test/Tes
> > > tMeasureElementReducePointsByDistanceFilter.pas
> > > Missing ranges:
> > >
> /trunk/_dev/src/include/FilterLibrary/Test/TestMeasureElementReduce
> > > PointsByDistanceFilter.pas:13561-15003
> > >
> > > The mentioned files and directories exist in the trunk (and
> seem to
> > > have already existed before the branch was created), but are
> > > missing on the branch. I have read in the mailing list archives
> > > that a svn merge --record-only (or a corresponding change of
> the
> > > svn:mergeinfo properties) could fix the problem, but how do I
> find
> > > out which revisions are affected (e.g. in which revisions the
> files
> > > and directories were lost)?
> > >
> >
> > Do you have a sparse checkout by any chance? Are you merging
> > in at the same folder level from where you branched?
>
> No, it's a normal checkout, and I was and am merging at the same
> folder level (_dev) from where I branched.
>
> I noticed however that the mentioned files have been changed in
> another branche and then were merged to trunk (within the given
> range 13561-15003). Is this in some way helpful/important?

Well... there you go. If there has been activity in the trunk since the branch was done, then you must merge trunk into branch before you can re-integrate back into trunk. Although, it seems strange that it would mention revision range that was prior to your branch being created.


BOb

Received on 2010-12-07 15:50:09 CET

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.