Deleted Added
full compact
mtcc.c (362181) mtcc.c (369302)
1/*
2 * mtcc.c -- Multi Command Context implementation. This allows
3 * performing many operations without a working copy.
4 *
5 * ====================================================================
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements. See the NOTICE file
8 * distributed with this work for additional information

--- 439 unchanged lines hidden (view full) ---

448 {
449 mtcc_op_t *op;
450
451 SVN_ERR(mtcc_op_find(&op, NULL, new_relpath, mtcc->root_op, TRUE, FALSE,
452 FALSE, mtcc->pool, scratch_pool));
453
454 if (op)
455 return svn_error_createf(SVN_ERR_FS_ALREADY_EXISTS, NULL,
1/*
2 * mtcc.c -- Multi Command Context implementation. This allows
3 * performing many operations without a working copy.
4 *
5 * ====================================================================
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements. See the NOTICE file
8 * distributed with this work for additional information

--- 439 unchanged lines hidden (view full) ---

448 {
449 mtcc_op_t *op;
450
451 SVN_ERR(mtcc_op_find(&op, NULL, new_relpath, mtcc->root_op, TRUE, FALSE,
452 FALSE, mtcc->pool, scratch_pool));
453
454 if (op)
455 return svn_error_createf(SVN_ERR_FS_ALREADY_EXISTS, NULL,
456 _("Path '%s' already exists"),
456 _("Path '%s' already exists, or was created "
457 "by an earlier operation"),
457 new_relpath);
458
459 SVN_ERR(mtcc_op_find(&op, NULL, new_relpath, mtcc->root_op, TRUE, TRUE,
460 FALSE, mtcc->pool, scratch_pool));
461
462 if (op)
463 return SVN_NO_ERROR; /* Node is explicitly deleted. We can replace */
464 }

--- 1022 unchanged lines hidden ---
458 new_relpath);
459
460 SVN_ERR(mtcc_op_find(&op, NULL, new_relpath, mtcc->root_op, TRUE, TRUE,
461 FALSE, mtcc->pool, scratch_pool));
462
463 if (op)
464 return SVN_NO_ERROR; /* Node is explicitly deleted. We can replace */
465 }

--- 1022 unchanged lines hidden ---