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

svn.exe crashes when user ABC locks the file and user XYZ performs commit after editing same file

From: Jaimin Modi <jaimin.modi_at_igate.com>
Date: Tue, 8 Jul 2014 23:38:13 -0700 (PDT)

I am writing feature test automation script for tortoiseSVN. While executing test scripts I faced a problem while testing svn feature lock/unlock. As explained below.

Execution Steps:
1. Go to working directory
2. Locking the file sample.txt by svn user ABC.
    Command Executed: svn lock sample.txt --username=ABC --password=ABCPSWD
3. Editing the file sample.txt
4. Committing the file sample.txt by other svn user XYZ.
    Command Executed: svn commit -m "testing svn lock" --username=XYZ --password=XYZPSWD --non-interactive

Expected behavior:
It should have thrown error in step 4 above, as file sample.txt is locked by user ABC and user XYZ is trying to commit the changes.

Actual Observation:
I got svn.exe crash popup windows with message "svn has stopped working. a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available"

Require help:
I used TortoiseSVN-1.7.10.23359-x64-svn-1.7.7.msi. can somebody confirm is there any issue with svn.exe from TortoiseSVN-1.7.10.23359-x64-svn-1.7.7.msi? Also need to know the bug id if this issue was fixed in later TortoiseSVN releases.

Environment:
TortoiseSVN-1.7.10.23359-x64-svn-1.7.7.msi
Windows 7 X64 bit version
svn.exe version: svn, version 1.7.7 (r1393599) compiled Oct 8 2012, 20:42:17

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3084804

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Capture.PNG
Received on 2014-07-09 17:08:52 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.