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

Re: filter files before commit

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-10-27 11:23:03 CEST

On Oct 27, 2005, at 10:25, marcus314 wrote:

> is it not possible via a hook script to first modify
> the *working* copy of the file, and then commit this
> modified version to the repo?

No, it is not possible, nor is the possibility desired by the
Subversion developers, as I understand it. The job of a revision
control tool is to store the things it gets sent as-is, not to modify
them unexpectedly behind the committer's back.

> PS. the documentation is a bit scarce regarding hook
> scripts. Is there a site where I can find some
> detailed examples how to e.g. test all files *.foo
> with a script `isvalidfoo'?

I'm not aware of any such site. The documentation was clear to me,
but if you need more pointers, there have been many posts on this
list. You can probably find some of them by searching http://
svn.haxx.se/users/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 27 11:25:54 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.