Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 11:55:17 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, dougb@FreeBSD.ORG
Subject:   Re: mergemaster annoyance or not?
Message-ID:  <200903161055.n2GAtHkt077732@lurza.secnetix.de>
In-Reply-To: <49BA1BAA.3080905@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote:
 > The attached patch adds a -F option to automatically install files
 > when only the FreeBSD $Ids differ. I've tested this and it seems to do
 > what the people concerned about this issue are asking for.

That seems to be a useful feature.  You need to quote the
dollar signs, though.

However, maybe the best solution is to add a new keyword
for mergemaster.rc, so the user can exactly specify which
kind of changes should be always installed.

So the new -L option (which could still exist as a short-cut)
would be the same as the following line in mergemaster.rc:

AUTO_INSTALL_DIFF='-I[$]FreeBSD:.*[$]'

For example, if someone is not interested in pure white-
space changes and changes to #-style comments, he could
let those be auto-installed thusly:

AUTO_INSTALL_DIFF='-Bb -I#.* -I[$]FreeBSD:.*[$]'

What do you think?

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"I have stopped reading Stephen King novels.
Now I just read C code instead."
        -- Richard A. O'Keefe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903161055.n2GAtHkt077732>