[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: applying astyle on commit
From: |
Eric Siegerman |
Subject: |
Re: applying astyle on commit |
Date: |
Fri, 20 Apr 2001 15:15:01 -0400 |
User-agent: |
Mutt/1.2.5i |
On Fri, Apr 20, 2001 at 05:47:01PM +0200, Maarten de Boer wrote:
> Ok, I have a script which I call from the commitinfo file, that applies
> astyle [but]
> The user that commited the file, still has the unformatted revision on
> his machine
>
> Is there a (server-side) way to force response to client-side update
> requests? In other words, when the client does a cvs update, tell
> it that the revision indeed changed?
Not that I know of. As a workaround, try putting a keyword in
the file ($Id$ or whatever). If I recall, keyword expansion
works by fetching the file back from the server after the commit
-- which, as a side-effect, should give the client the formatted
version.
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
| | /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)