pre-commit hooks and $Id$ banners?
John Yates
jyates at netezza.com
Wed Apr 26 17:38:29 BST 2006
On Tuesday, 2006-04-25 Jan Hudec wrote:
> 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.
I assume that 'internal' would be platform independent while 'external'
would be at least platform dependent and possibly configurable.
> Well, actually an
exception would
> be diff -- we should be able to produce BOTH diff of external and of
internal
> representations.
I would hope that if I had not edited a file the presence of expanded
keywords would not lead diff output. Many script authors assume two
files
are identical if their diff is empty.
> Not that it's too important for keywords, but
newline style
> and charset conversion should use the same mechanism.
Hear! Hear!
/john
More information about the bazaar
mailing list