Shannon,
You can accomplish this goal indirectly with Subversion. You could check out
the committed version of the file to a different location, check out an
older copy of the entire site, or use the branching feature, make the change
to that other copy of the file/site, then commit that other file without
impacting the current development directory. I've done this sort of thing
many times. An alternative is that the developer can comment out the code
that is not ready to commit, then uncomment the code when development on it
restarts. Another alternative is to move the current development copy of the
file to a different directory outside of the site, download the version from
source control to modify it, then when that modification is complete and
checked in, use a diff tool to merge the two files.

I am not aware of any source control tool that lets you directly pick
individual lines of code to commit.

-Mike Chabot
On Wed, Jul 27, 2011 at 12:16 PM, Shannon Rhodes <[email protected]>wrote:

>
> I've been charged with choosing versioning software for our team, and I'd
> like to recommend Subversion but there's a developer who wants a feature
> that I'm not sure Subversion (or other versioning tools) can accommodate:
>  partial commits.  For example, you may be working on a project where you've
> touched a lot of code that is not ready for check-in, but then a high
> priority change comes across your desk that requires you to make an
> unrelated change to one of these files and check it in.  He wants to be able
> to pick and choose which lines of a changed file get checked in.  Is that
> possible with any versioning tool??
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346365
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to