You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2010/04/20 03:16:55 UTC
svn commit: r935785 -
/subversion/trunk/subversion/libsvn_client/prop_commands.c
Author: gstein
Date: Tue Apr 20 01:16:55 2010
New Revision: 935785
URL: http://svn.apache.org/viewvc?rev=935785&view=rev
Log:
svn_wc__get_pristine_props() is sophisticated now, so we can let it tell
us when properties are undefined for a particular node.
* subversion/libsvn_client/prop_commands.c:
(pristine_or_working_props): remove the node_is_status_added check
Modified:
subversion/trunk/subversion/libsvn_client/prop_commands.c
Modified: subversion/trunk/subversion/libsvn_client/prop_commands.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/prop_commands.c?rev=935785&r1=935784&r2=935785&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/prop_commands.c (original)
+++ subversion/trunk/subversion/libsvn_client/prop_commands.c Tue Apr 20 01:16:55 2010
@@ -519,22 +519,6 @@ pristine_or_working_props(apr_hash_t **p
{
if (pristine)
{
- /* ### right now, we're not entirely sure that get_pristine_props
- ### will return NULL for the added case. let's double-check. */
- {
- svn_boolean_t added;
-
- /* ### oops. but this doesn't handle the copied case, which DOES
- ### have properties. */
- SVN_ERR(svn_wc__node_is_status_added(&added, wc_ctx, local_abspath,
- scratch_pool));
- if (added)
- {
- *props = NULL;
- return SVN_NO_ERROR;
- }
- }
-
return svn_error_return(svn_wc_get_pristine_props(props,
wc_ctx,
local_abspath,