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

Re: Keep separate checkouts up to date

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Mon, 20 Feb 2012 15:31:27 +0100

Am 20.02.2012 03:07, schrieb John Leonard:
> So one strategy would be, say, to perform an update at the beginning of
> a workday at each workstation and then commit at the end of work?

I'd generally update regularly, more than once a day even. However, when
I'm in the middle of working on something, I don't want other people's
changes to come in, so I defer updating. Before committing though, I
must make sure that my changes don't conflict, so I have to update
first, then test again, then commit.

That said, committing at the end of a work day (I'm not sure if that is
what you meant) is a bad idea, as it conveys zero useful information. If
you are concerned about data loss, then you need a backup solution in
addition.

Committing blindly might even commit half-complete changes. Instead, if
you have completed a change, commit that. Don't accumulate changes for a
day (let alone longer!) and don't commit unrelated changes in one
checkin. This makes it clearer to you and others what you did and why,
and it makes it possible to pinpoint when something broke to a single
revision. If you check in every evening, there might be a lot of changes
to hunt bugs in. There might even be changes that cause the whole thing
to break because they are incomplete, so two revisions where things are
in a sane state might be more than one day away from each other.

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 2012-02-20 15:32:06 CET

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