Bazaar as Subversion replacement
Marius Gedminas
marius at pov.lt
Tue Jan 16 20:14:06 GMT 2007
On Tue, Jan 16, 2007 at 10:09:04PM +0200, Alexander Belchenko wrote:
> Don't understand me wrong.
> I know that reading files from disk and writing them back is the simplest
> part of line-endings support. I realize that proper support requires also
> new inventory format to store file type and all other stuff, that Aaron
> already mention in this thread.
> So it's looks very simple from user point of view, but I'm aware about
> underwater body of iceberg.
If .bzrignore at the root of the branch is enough to support ignored
files, wouldn't .bzrlineendings suffice for specifying which files need
what sort of line endings?
*.py = native
*.bat = CRLF
*.sh = LF
subdir/somesortofexception.sh = binary
Dealing with per-file properties like Subversion's svn:ignores or
svn:eol-style is a Big Pain(TM), and it still requires each developer to
either set up a configuration file correctly, or manually specify the
properties for every newly added file/directory.
If the number of per-branch configurable options is going to be larger,
maybe it is time to consider a .bzrbranch.cfg with sections, e.g.
something like
[ignore]
*.py
*.svn
[eol-style]
*.py = native
[pre-commit]
hooks/precommit.py
# etc.
Marius Gedminas
--
As of 2.91, these bugs have all been fixed. We look forward to new ones, well,
not exactly...
-- libstdc++-v3 FAQ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070116/d9118650/attachment-0001.pgp
More information about the bazaar
mailing list