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... Thank you, Ron
Re: svn feature addition?
On 02.06.2017 01:43, Eggler, Ron (GE Energy Connections) wrote: > Hi There, > > I am looking for the following features in svn: I suppose you're talking about some GUI Subversion client. Which one? > -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? This should already be possible. If your client doesn't support it, you'll have to request the feature from its authors. > -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? "Including or excluding changed lines from a file before commnt" is also known as "using a text editor to modify the file". Subverison tracks whole files, not individual lines. In fact the repository does not care if the file contains text or not. > 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... They're useful, and they exist ... -- Brane
Re: svn feature addition?
Branko Čibej wrote on Fri, 02 Jun 2017 01:58 +0200: > On 02.06.2017 01:43, Eggler, Ron (GE Energy Connections) wrote: > > -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? > > "Including or excluding changed lines from a file before commnt" is also > known as "using a text editor to modify the file". Subverison tracks > whole files, not individual lines. In fact the repository does not care > if the file contains text or not. > I think the OP is looking for an equivalent to 'git add -p && git commit'. The off-the-cuff answer is "Use git-svn", but maybe there's a better way...