Re: Tagging changesets
From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-08-29 10:22:59 CEST
Take care with committing "partially complete work". This needs some qualification...
Don't use SVN (or any other version control system) as a means of backup. If you need to back work up, do something else (e.g. copy to CD or tape, or to a server).
If you commit partially finished work (whether or not in a branch), then the changes should always satisfy certain minimum requirements:
This is akin to "completeness" and "consistency".
[By "well-defined", I mean that the changes are for a single, self-consistent, describable part of the overall work.]
Breaking a large task into smaller well-defined subtasks is usually a good idea, however. It is easier to review work if it is broken down in this way.
Sometimes changes can obscure other changes. For example, if a few lines of code are functionally changed, but a variable is also renamed, then those rename changes make the functional changes difficult to see. You might consider committing the two separately.
If there is a requirement (or just desire) to ensure that all such subtasks are contiguous in the repository, then the work will need to be done via a branch and merge.
Rob.
-----Original Message-----
On Fri, 2006-08-25 at 17:06 +0200, Holger Stratmann wrote:
Or unless you have a strict policy of only allowing completed work to
-- Les Mikesell lesmikesell@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org _____________________________________________________________________ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service, on behalf of Celoxica Ltd. This email and any files transmitted with it are confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed. If you have received this in error, please contact the sender and delete the material immediately. Whilst this email has been swept for viruses, you should carry out your own virus check before opening any attachment. Celoxica Ltd accepts no liability for any loss or damage which may be caused by software viruses or interception or interruption of this email. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Aug 29 10:24:47 2006 |
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.