Dan Ellis <danelli...@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*

Reply via email to