[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: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-10-26 12:42:17 CEST

On 10/26/05, marcus314 <marcus314@yahoo.com> wrote:
> Hi group,
>
> I would like to always run a script on special types
> of files before committing them to the repository,
> e.g. "tidy" on all .html-files.
>
> Is there a way to do this automatically, i.e., so that
> I would just have to "svn commit foo.html"?

You could use a shellscript that runs tidy and then commits. But are
you sure you really want this to be automatical, do you never inspect
the result of the tools you run on your files before commiting?

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 26 12:44:49 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.