Bazaar as Subversion replacement
Marius Kruger
amanic at gmail.com
Wed Jan 17 06:04:23 GMT 2007
On 1/16/07, Marius Gedminas <marius at pov.lt> wrote:
> 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.
>
I think this is brilliant!
Then we could (later if required) also add a section
[strip-trailing-white-space]
to have patterns for which files we would like white space to be
automatically
stripped on commit.
[now don't nobody swear me for this!]
regards
marius (kruger)
--
I code therefore I am.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070117/7e949dfa/attachment.htm
More information about the bazaar
mailing list