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

Re: [PATCH] possible crash on svn revert

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-22 17:20:00 CEST

Benjamin Pflugmann <benjamin-svn-dev@pflugmann.de> writes:

> 2002-09-21 Benjamin Pflugmann <benjamin-svn-cvs@pflugmann.de>
> * libsvn_wc/adm_ops.c:
> (svn_wc_delete): minor style change
> (svn_wc_revert): Fixed a crash.
> svn_wc_remove_from_revision_control may not be called without a
> valid lock. When trying to revert an added, but manually deleted
> directory, only the parent lock would be valid. But passing the
> parent lock would be interpreted as request to remove the parent.
> Therefore do remove the revision control entry without calling
> svn_wc_remove_from_revision_control at all.

Thank's for the patch. There is something similar in rev 3206.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 22 17:20:38 2002

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

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