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?
There is no technological reason why it could not be done.
However, there are two philosophies on this subject:
+1) "This would be a nice feature".
-1) "Do not attribute arbitrary munging to the author of the commit.
If modification is desired, do it in a seperate commit."
Personally, I can't make up my mind which I agree with.
However, it would be extremely inadvisable to file an RFE without first
reaching a consensus on the above in discussion on the dev@ list.
Max.
---------------------------------------------------------------------
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:54:59 2005