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

TortoiseSVN crashes on automatic merge (Problem 24254: libsvn_tsvn!svn_client_merge_peg5)

From: Pavel Lyalyakin <pavel.lyalyakin_at_visualsvn.com>
Date: Mon, 3 Jun 2013 18:19:13 +0400

Hello,

Nightly TortoiseSVN 1.7.99.24235 - 1.7.99.24246 crashes on invalid
automatic merge operation. SVN.exe does not crash on the same operation, it
outputs an error.

* Environment:

TortoiseSVN 1.7.99, Build 24246 - 64 Bit,
Windows 7 64bit.

* Reproduction script:
(I'm also attaching archived testing repository for your convenience).

1. `svnadmin create testrepo`
2. `svn mkdir "file:///<insert-path>/testrepo/branches"
"file:///<insert-path>/testrepo/trunk" -m "Added branches and trunk
folders"`
3. `echo HELLOWORLD > text.txt`
4. `svn import text.txt file:///<insert-path>/testrepo/trunk/text.txt -m
"Added a text file to trunk"`
5. `svn cp "file:///<insert-path>/testrepo/trunk"
"file:///<insert-path>/testrepo/branches/1.0" -m "Branched /trunk
to/branches/1.0"`

6. Checkout a working copy of the repository with TortoiseSVN,
7. Right click on "/trunk" in the working copy, go to TortoiseSVN | Merge |
Automatic merge and attempt to merge with "/branches".
NOTE: Merge "/trunk" with "/branches"! Not with "/branches/1.0".

TortoiseSVN crashes at this step. Here is the crash report:
https://www.crash-server.com/Problem.aspx?ClientID=tsvn&ProblemID=24254

[[
libsvn_tsvn!svn_client_merge_peg5+0x946
libsvn_tsvn!svn_client_merge_peg5+0xede
libsvn_tsvn!svn_client_merge_peg5+0x126e
libsvn_tsvn!svn_client_merge_peg5+0x199
tortoiseproc!SVN::PegMerge+0x236
tortoiseproc!CSVNProgressDlg::CmdMergeReintegrate+0x4c6
tortoiseproc!CSVNProgressDlg::ProgressThread+0x292
mfc110u!_AfxThreadEntry+0x100
msvcr110!beginthreadex+0x107
msvcr110!endthreadex+0x192
kernel32!BaseThreadInitThunk+0x1a
ntdll!RtlUserThreadStart+0x1d
]]

For the same automatic merge operation I get the error in SVN.exe:

[[
svn: E205000: Try 'svn help merge' for more information
svn: E205000: Source and target must be different but related branches
svn: E205000: Source and target have no common ancestor:
'branches_at_working' and'.@unspecified'
]]

Thank you.

-- 
With best regards,
Pavel Lyalyakin
VisualSVN Team
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3057019
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2013-06-03 17:32:14 CEST

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.