pre-commit hooks and $Id$ banners?

Jan Hudec bulb at
Tue Apr 25 21:47:43 BST 2006

On Mon, Apr 24, 2006 at 14:44:32 +1000, Martin Pool wrote:
> It's not totally clear to me that we'd want to commit the unexpanded  
> text though.  Doing so would make storage more compact, and only hide  
> information that would never normally be accessible.  On the other  
> hand perhaps it is better to commit precisely what the user had on  
> disk - perhaps you would want to extract it later without doing the  
> expansion.  That's probably not by itself a good enough reason to  
> spend the time & space.

IMO an only way to maintain overall sanity is to define 'internal' and
'external' representation and convert 'external'->'internal' on EVERY read
and 'internal'->'external' on EVERY write. Well, actually an exception would
be diff -- we should be able to produce BOTH diff of external and of internal
representations. Not that it's too important for keywords, but newline style
and charset conversion should use the same mechanism.

						 Jan 'Bulb' Hudec <bulb at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 

More information about the bazaar mailing list