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

Re: Transaction concept in svn

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Tue, 18 Oct 2011 09:06:17 +0200

Am 18.10.2011 08:34, schrieb yerra babji:
> Is there any way in SVN to mandate the user to check in all the files
> he modified at a time?

No, and I at least often don't want to check in all at once.

> Problem is people are checking in the code one by one and in
> between his checkins, If I get the code from svn, I am getting
> build failures.

This means that the checkins are not complete or that they contain
superfluous incomplete parts of unrelated changes. This is nothing where
a technical means can enforce completeness, the only thing you could do
is to force them to work in a branch, and only when the branch builds
cleanly they are allowed to reintegrate this into the trunk. That way,
only they are affected by the changes.

However, I'd sit down with that developer and explain them this issue,
that it breaks your work, other peoples' work and that it makes it
impossible to step back in history to find out which commit exactly
caused an error. A similar problem applies to the case when people check
in more than a single change at once, you can never tell which of the
many changes caused an error.

I'd then also sit next to them when they're making the next commit, to
make sure that the commit only contains one change and that the change
is complete and that I'm 100% satisfied with the results. Doing that a
few times, they might get the clue.

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2011-10-18 09:06:55 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.