[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: marcus314 <marcus314_at_yahoo.com>
Date: 2005-10-27 10:25:50 CEST

Hi Dirk,

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?

Regards,
Marcus

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'?

Dirk Hoffmann <dh.discuss@web.de> wrote:
> Hi Marcus,
>
> you may be thinking of writing a hook script to do
> the job but that
> won't work because then the working copy would no
> longer be in sync with
> the repo (Hope I remember this correctly).
>
> Better write a hook script which validates that your
> html is tidy and
> denies the commit if not.
>
> Regards,
> Dirk

                
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

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