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

RE: integrating Subversion with a build tool?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-03-24 18:05:38 CET

On Sun, 2003-03-23 at 14:01, Steven Knight wrote:
> Umm... I understand *how* Subversion works. The problem is trying to
> make Subversion checkouts work with an already well-established model
> for the interaction of build tools and (other) source code management
> system.

I tend to believe that this model is rarely used (contrary to your
initial assertion) and fundamentally flawed.

If the build tool checks out individual files at a time, developers will
lose the advantage of atomic commits. Consider what happens if I do a
build at the same time as someone else does a commit:

  Build: "I need foo.c, so I check it out at the current rev."
  <commit finishes, modifying foo.c and bar.c>
  Build: "I need bar.c, so I check it out at the current rev."

Now I have foo.c and bar.c from two different revisions, which
potentially aren't consistent with each other.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 24 18:06:23 2003

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.