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

Feature Request: abilty to commit specific chunks of a file in a revision

From: Matt Brown <matt_at_mattb.net.nz>
Date: 2005-10-20 01:49:43 CEST


I have an idea for what I think would be a very great and useful feature
for the subversion client and wanted to get some feedback on it before I
filed an issue on it. Maybe I'm loopy and this will never happen...

The feature that I would like is the ability to isolate a chunk or
chunks off the diff between a working copy and the repository and commit
those chunks separately to other chunks in the file.

Use Case:
User A is adding a function frobnicate to foo.c, in the process of
testing the new function a bug is discovered in a function called
bar2frob which is also found in foo.c.

The fix for the bar2frob function is general and not directly related to
the addition of the frobnicate function. The user wishes to create two
separate revisions from this single file so that merging and issue
tracking is simplified.

The obvious drawback of this proposal would be that it makes the commit
process slightly more complex. However this could easily be managed by
only presenting the option of which chunks to commit when svn commit is
called with a specific argument. This would retain the current behaviour
while presenting the extension to those users who require it.

Does this sound like a sane feature request?

Kind Regards

Matt Brown
Mob +64 275 611 544 www.mattb.net.nz
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 20 01:50:30 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.