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

Re: Can subversion be set up to modify files on commit?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-02-04 23:53:19 CET

On Feb 4, 2005, at 4:23 PM, Aleksey Nogin wrote:

> On 04.02.2005 14:03, Ben Collins-Sussman wrote:
>
>>> Basically, we use the commitinfo feature of CVS (an ability to run a
>>> script _before_ commit while having access to the files being
>>> committed) to _modify_ certain files before they are committed. Is
>>> this sort of thing possible with subversion?
>> No no no no no no no no no no. :-)
>> See the giant warning box here:
>> http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1
>
> Yes, I was looking at that one. Now, the question is - should this be
> considered a _bug_ (or at least a missing feature)? Shouldn't it be
> possible to modify things from the pre-commit script and have the
> server tell the client about it? I would imagine this would solve a
> large number of issues (such as Issue 1974). Should I file this as an
> RFE, or is there some reason why this can not be done?

Subversion's current design doesn't allow this right now. It's not a
deliberate choice, but then again the developers are running around
upset about this either. :-)

I can't remember if this feature request is filed already. But I
suspect that it's such a large change that it would probably have to be
a 2.0 change.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 4 23:57:09 2005

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.