Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 10:20:30 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        rihad <rihad@mail.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: question on mergemaster
Message-ID:  <400C03CE.5070800@centtech.com>
In-Reply-To: <400C012E.4040002@mail.ru>
References:  <400C012E.4040002@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
rihad wrote:

> Hi. I was wondering if there are any improvements planned to be made to
> mergemaster? After today's cvsup I had to sit and keep pressing either
> "q" (to break out of the pager) or "i" to accept the new file. This *is*
> boring, considering there seemed to be no end to them and I eventually
> killed mergemaster, because I had started to get nervous and make silly
> typos :). It's just my toy home machine and there's only few files under
> /etc that I care about, and these mergemaster doesn't touch anyway (like
> fstab, rc.conf etc). Wouldn't it be great if one could add the "assume
> yes" flag so that it overwrites without prompting (like gentoo's
> etc-update does when you ask it). Currently I came up with this dirty
> hack to save myself from hundreds of confirmations, it kind of worked:
>
> # ( echo d; while :; do echo -e "q\ni"; done ) | mergemaster -i
>
> Is such an "no-prompt" option considered important enough to be
> integrated RSN or am I missing some obvious and convenient usage pattern
> everyone know about?
>
> Thanks in advance and sorry if this is a bit offtopic.


A few days ago an email was sent to this very list mentioning that major 
changes to the rcng stuff was going to happen - the suggested path for 
quick mergemastering was something like:
rm /etc/rc.d/*
mergemaster -i

That would have made you a happy FreeBSD'er.. :)

Eric


-- 
------------------------------------------------------------------
Eric Anderson	   Systems Administrator      Centaur Technology
All generalizations are false, including this one.
------------------------------------------------------------------




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