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

RE: svn feature addition?

From: Andrew Reedick <jreedick_at_incomm.com>
Date: Fri, 2 Jun 2017 14:46:23 +0000

> From: Eggler, Ron (GE Energy Connections) [mailto:Ron.Eggler_at_ge.com]
> Sent: Thursday, June 1, 2017 7:44 PM
> To: users_at_subversion.apache.org
> Subject: svn feature addition?
> Hi There,
> I am looking for the following features in svn:
> - When you do svn commit, instead of automatically submitting all changed files in the directory, in the dialog where you enter the commit message (if -m flag is not used), is there a feature to uncheck any files that should not be committed/select files to be committed?
> - Is there an option to inspect each file further line-by-line for lines  that have changed to either be selected or excluded from the commit?
> I am interested to potentially work on patches that would extend svn with the above functionality if not present already, does anyone know? It seems like these options would be really useful.

What about working on a (temp) branch and then selectively merging what you want over?

Steps would be:
Make temp branch
Switch to temp branch
Commit all
Switch to main branch
Selectively merge files/lines from temp to main
Commit main.
"Copy merge" from temp to main to overwrite workspace with stuff from temp in order to recreate modified files (i.e. files that you only merged a few lines from) that existed initially.
Rm temp branch
Keep working.

Most of that should be scriptable.
Received on 2017-06-02 16:46:45 CEST

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.