You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/06/08 13:40:03 UTC
svn commit: r1133352 - /subversion/trunk/subversion/svn/status.c
Author: julianfoad
Date: Wed Jun 8 11:40:03 2011
New Revision: 1133352
URL: http://svn.apache.org/viewvc?rev=1133352&view=rev
Log:
* subversion/svn/status.c
(svn_cl__print_status_xml): Don't analyze the lock to try to detect WC
corruption here, just print the information that is available,
because this function's purpose is simply to provide information
and this check was not apparently serving any particular need.
It was introduced in the original code submission in r854995.
Modified:
subversion/trunk/subversion/svn/status.c
Modified: subversion/trunk/subversion/svn/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/status.c?rev=1133352&r1=1133351&r2=1133352&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/status.c (original)
+++ subversion/trunk/subversion/svn/status.c Wed Jun 8 11:40:03 2011
@@ -366,14 +366,7 @@ svn_cl__print_status_xml(const char *pat
svn_cl__xml_tagged_cdata(&sb, pool, "token", status->lock->token);
- /* If lock_owner is NULL, assume WC is corrupt. */
- if (status->lock->owner)
- svn_cl__xml_tagged_cdata(&sb, pool, "owner",
- status->lock->owner);
- else
- return svn_error_createf(SVN_ERR_WC_CORRUPT, NULL,
- _("'%s' has lock token, but no lock owner"),
- svn_dirent_local_style(path, pool));
+ svn_cl__xml_tagged_cdata(&sb, pool, "owner", status->lock->owner);
svn_cl__xml_tagged_cdata(&sb, pool, "comment",
status->lock->comment);