Lines Matching refs:token
79 const char *token;
158 if a lock already exists with that token, and if so, verify that
161 if (args->token)
165 args->token, trail,
177 "Lock failed: token refers to existing "
185 errors about {the path not existing as a key, the path's token
205 SVN_ERR(delete_lock_and_token(existing_lock->token,
212 if (args->token)
213 lock->token = apr_pstrdup(args->result_pool, args->token);
215 SVN_ERR(svn_fs_base__generate_lock_token(&(lock->token), trail->fs,
223 SVN_ERR(add_lock_and_token(lock, lock->token, args->path, trail));
262 args.token = target->token;
292 svn_fs_base__generate_lock_token(const char **token,
300 *token = apr_pstrcat(pool, "opaquelocktoken:",
310 const char *token;
318 BATON->path is the canonical path and BATON->token is the token.
337 /* Sanity check: The lock token must exist, and must match. */
338 if (args->token == NULL)
340 else if (strcmp(lock_token, args->token) != 0)
382 const char *token = apr_hash_this_val(hi);
387 args.token = token;
603 If FS hasn't been supplied with a matching lock-token for LOCK,
625 else if (svn_hash_gets(fs->access_ctx->lock_tokens, lock->token) == NULL)
628 _("Cannot verify lock on path '%s'; no matching lock-token available"),