[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Incorrect error message on svn copy? Advice?

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 22 May 2014 17:17:45 +0100

Dan Ellis <danellis10_at_gmail.com> writes:

> I don't quite follow what the different checks would be as in this case the
> only difference is --parents vs no --parents. Both I imagine do a path
> existence check and in both cases the path doesn't exist. In the end, it
> really doesn't matter - its a general curiosity on my part.

--parents is implemented by the client. The client first builds up a
transaction on the server and then tells the server to attempt to commit
the transaction. Without --parents the copy fails while building the
transaction so no attempt is made to commit the transaction. With
--parents the client detects the missing directory and sends an explicit
mkdir before sending the copy, this allows the copy to succeed and in
turn allows the client to proceed to tell the server to attempt the
commit.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-05-22 18:18:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.