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

Partial Commits of an individual file?

From: Andrew Thorburn <nzipsi_at_gmail.com>
Date: Tue, 19 Jan 2010 14:10:48 +1300

I'm wondering if there has been any discussion about the ability to
commit bits and pieces of a file.

e.g.:

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 can't always commit straight away, as I need to wait for
confirmation that the fix is *actually* required, so I might move on
to the next issue which could require changes to the same file.

Ideally, I would like to be able to select the lines I want to commit
(or not commit, as the case may be), but as far as I'm aware, this
isn't possible with SVN, or any third-party tools? For what it's
worth, I currently use Subversive in Eclipse, and SVN 1.6 (not sure
exactly what version) as the client, and something really, really old
on the server.

Thanks,

- Andrew Thorburn
Received on 2010-01-19 15:38:43 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.