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

Re: TSVN merge report inconsistent to svn merge

From: nullify <xrayz_at_blueyonder.co.uk>
Date: Thu, 10 Jul 2008 12:13:39 -0700 (PDT)

On Jul 10, 5:39 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> John Williams wrote:
> > When I perform a tracked merge using the wizard in TSVN the "Merge -
> > TortoiseSVN Finished!" dialog box displays some results. The merge range
> > displayed in that box is inconsistent with the command line client when
> > performing the exact same merge.
>
> > TSVN merge with empty range box, the output is:
>
> > Command    Merging revisions 1-HEAD of
> > file:///D:/svn/test15/branches/1.x into D:\docs-john\Dev\test15-trunk,
> > respecting ancestry
> > Merging r4 through r6 D:\docs-john\Dev\test15-trunk
> > ...snip
>
> > If I revert the merge then perform the same merge with the command line
> > I see the following:
>
> > \docs-john\Dev\test15-trunk>svn merge file:///D:/svn/test15/branches/1.x
> > --- Merging r5 through r6 into '.':
> > ...snip
>
> > The difference here is that TSVN says "r4 through r6", while SVN says
> > "r5 through r6". I appreciate that r6 is a changeset of r5:6. I'm not
> > questioning the merge, just the report is inconsistent and possibly
> > misleading.
>
> So the merge result is actually the same?
> I'm just asking because the output can be different if you used the same
> repository (even if you reverted the first merge) due to the fact that
> the repository stores some merge info too, and in the second merge it
> could have already known that r4 didn't need merging.

Yes the merge results are the same - including the mergeinfo property.
Just to make sure I created a test repository, whch I made a backup
of. I then performed the same test as earlier with TSVN with the same
results as the original post. Then I deleted the repository (and
working copies) and restored the backup repository, check-out branch
and trunk, finally I performed the same test with svn - same results
as original post.

FYI, if it helps, the mergeinfo property for test15-trunk after the
merge is:
/branches/1.x:5-6
/trunk:2-4

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-10 21:27:10 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.