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

Re: Partial Commits of an individual file?

From: Tyler Roscoe <tyler_at_cryptio.net>
Date: Tue, 19 Jan 2010 08:35:06 -0800

On Tue, Jan 19, 2010 at 02:10:48PM +1300, Andrew Thorburn wrote:
> I have a particular bit of code in a project I'm working on which is
> very large (too large), and I frequently need to make changes to it
> for multiple issues. This means that when I go to commit, I have to
> make a single commit which fixes or implements multiple issues. This
> isn't really ideal, as it means that you can't look at the diffs of
> the file to see which change applies to which issue - you just see a
> nice big list of changes, and have to guess at what changes apply to
> what issue.

I would use a shelf (or branch). Copy the file from trunk, make change
#1, commit to shelf, make change #2, commit to shelf, etc.

Then when you know what changes are actually needed, you can merge them
one-by-one back to trunk.

tyler
Received on 2010-01-19 17:35:41 CET

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.