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

Re: Post processing of check out and pre processing of commits

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-11-12 22:31:57 CET

mep wrote:
> Is there a built in mechanism for inserting a "pretty printer"?

No, but you could write a wrapper to do it for you. The issue is that
you should not (read MUST NOT) change the transaction in progress, so
that the file as stored on the server is always the same as the file
stored on the client.

If you *really* want to do this, I would create a [insert your favorite
scripting language here] script called `edit` which would transform the
file on disk using your personal style, call up your editor, then
transform the file into the company-standard style on the after the
editor closes.

Of course, there is something to be said for:

a) learning to use your company's standard style;
b) convincing your boss that your style is better. ;-)



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 12 22:32:26 2007

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.