Le 11/09/2012 15:49, Stefan Sperling a écrit :
> On Tue, Sep 11, 2012 at 02:45:49PM +0200, Laurent Alebarde wrote:
>> Thanks for your answer Stefan,
>> Unfortunatly, no :
>> The first link says Subversion is smart with binary files. That's
>> good to hear, but do not provide a filter or filter hook between the
>> workspace and the repository.
> Apart from built-in properties such as svn:keywords and svn:eol-style,
> there is no way to make changes to files during checkout or commit.
> You can probably use a wrapper script for this purpose, however,
> that wraps svn checkout, svn update, and svn commit.
> What do you really need this feature for? I'm interested in learning
> more about your actual use case, the actual problem you're trying to
> solve, rather than what git's solution to your problem is. Maybe if
> I knew more about the problem itself I could give you a better answer.
> And maybe we can add some feature to svn to solve your problem, once we
> understand the problem.
Sure, you are right. At present time, my use cases are :
1) Automatic coding style refactoring so that developpers remain happy
with what they are used to : indentation, naming, layout, etc.
2) Automatic doxygen comments generation.
3) Add information in the code in the workspace, from tags included in
The 2 first use cases need a filter between the workspace and the
repository. The 3rd one needs a filter between the workspace and the
internal or external diff.
Hope the clarification is right.
>> The second link says it can use external diff. But that's not what I
>> want to do. I just want to put a filter in the middle between the
>> files to diff and the internal diff.
> This is not supported. A workaround might be to use an external diff
> tool and filter its output instead.
No, from my use case 3, this is not a solution.
Received on 2012-09-11 16:49:05 CEST