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

Re: [TSVN] TortoiseSVN - Merge "From" Revision Selection Bug

From: Rainer Müller <mueller_rainer_at_gmx.de>
Date: 2005-07-25 16:32:08 CEST

Huston, Robert @ AS wrote:
> Hello,
> I have been using Subversion and TortoiseSVN since February 2005 and
> absolutely love it. At the company I currently work for, I have been
> eagerly awaiting the v1.2.x line because of the locking features (it
> will help with Word documents, etc.). I have just upgraded to the
> TortoiseSVN 1.2.1 client (from 1.1.7) and have noticed an annoying issue
> with the Merge dialog box. Once I have the "From" URL set up, and I
> click the "Show Log" button to select my ranges, TortoiseSVN always
> enters a revision number that is "one less" than the beginning revision
> number in the "Revision" field. I have to fix it manually. I did a
> search on your Issue Tracker but nothing jumped out (I searched for
> things related to "merge").

That is the intended behavior. You have to select the revision range which
includes all the changes. See my comments on the example below.

> As an example of the problem, assume that a "my_branch" has been created
> and has the following history:
> 8 Removed tother
> 7 Added that
> 6 Fixed this
> 5 Created "my_branch" branch
> In this case, rev 5 was where the branch was copied from the trunk.
> Later, when this branch is to be merged into the trunk, the Merge dialog
> is invoked in a WC of the trunk, the "my_branch" is selected as the
> "From" URL, and the merge range is selected in the "Show Log" window
> from 5 to 8, the values for the "from" and "to" revisions end up being 4
> and 8 respectively, and not 5 and 8 as they should be. This happens
> consistently; the "from" revision always defaults to one less than what
> was selected from the "Show Log" window and I have to adjust it manually.

In this case the branch was created from trunk, so this worked because there was
nothing different in rev 5. But if you create a branch from your WC you have to
choose rev 4 because SVN diffs the too revisions and just applies the changes.

Please use the Help button or read the docs online at

HTH, Rainer

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 25 16:33:14 2005

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

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