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

Question about concurrent commits

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-01-17 16:36:54 CET

Hi again,

I have just been perusing the interfaces in subversion/include/ and some
of the desing docs, and I had a question about concurrent commits. What
happens when two people are doing commits at the same time and both have
modified the same file foo.c:17. Assuming one of them finishes first,
their transaction is committed, and foo becomes foo.c:18. Then when the
second person commits, their delta is against foo.c:17, but the latest
copy in the repository is foo.c:18. From the way I interpreted the
design docs, a situation like this will cause a branch in the repository
at foo.c:17.

Am I correct? Or is there some other way that this type of situation is
handled?

-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson
kevin@pilch-bisson.net
http://www.pilch-bisson.net

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:19 2006

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

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