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

RE: Crash when reverting

From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 9 Oct 2013 21:08:00 +0200

> -----Original Message-----
> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> Sent: woensdag 9 oktober 2013 20:24
> To: Subversion Development
> Subject: Crash when reverting
> Hi,
> here's a short way to trigger a crash:
> svn co http://server/svn/trunk wcfolder
> svn mkdir wcfolder/folder
> echo file1 > wcfolder/folder/file
> svn add wcfolder
> svn ci -m "" wcfolder
> svn mv wcfolder/folder/file wcfolder/file
> svn rm wcfolder/folder
> crash here:
> svn revert -R wcfolder/folder

If you would have written it as
def revert_move(sbox):
  "revert a move"

  sbox.simple_append('NEW/file', '1')

  sbox.simple_move('NEW/file', 'file')

  svntest.actions.run_and_verify_svn(None, None, [],
                                     'revert', '-R', sbox.path('NEW'))

Which I just did in r1530763, then you would have needed less lines, and you
could have just committed it as a regression test :)
(Thanks for the batch file though!)

I think I got the same issue reported by an AnkhSVN user without a full
reproduction recipe.

I filed the issue as #4436, as I'm quite busy with other work right now.

Received on 2013-10-09 21:08:40 CEST

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