Index: subversion/libsvn_client/update.c
===================================================================
--- subversion/libsvn_client/update.c	(revision 14395)
+++ subversion/libsvn_client/update.c	(working copy)
@@ -193,6 +193,8 @@
   int i;
   svn_error_t *err = SVN_NO_ERROR;
   apr_pool_t *subpool = svn_pool_create (pool);
+  svn_wc_adm_access_t *adm_access;
+  const svn_wc_entry_t *entry;
 
   if (result_revs)
     *result_revs = apr_array_make (pool, paths->nelts, sizeof (svn_revnum_t));
@@ -208,6 +210,15 @@
       if (ctx->cancel_func && (err = ctx->cancel_func (ctx->cancel_baton)))
         break;
 
+      SVN_ERR (svn_wc_adm_probe_open3 (&adm_access, NULL, path,
+                                       FALSE, 0, ctx->cancel_func,
+                                       ctx->cancel_baton, subpool));
+      SVN_ERR (svn_wc_entry (&entry, path, adm_access, FALSE, pool));
+      if (! entry)
+        return svn_error_createf (SVN_ERR_UNVERSIONED_RESOURCE, NULL,
+                                  _("'%s' is not under version control"),
+                                  svn_path_local_style (path, subpool));
+
       err = svn_client__update_internal (&result_rev, path, revision,
                                          recurse, ignore_externals, 
                                          &sleep, ctx, subpool);
