From owner-freebsd-bugs Mon Mar 12 3:20: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8309537B719 for ; Mon, 12 Mar 2001 03:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2CBK1t98599; Mon, 12 Mar 2001 03:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 770BA37B718 for ; Mon, 12 Mar 2001 03:12:37 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2CBCaw97888; Mon, 12 Mar 2001 03:12:36 -0800 (PST) (envelope-from nobody) Message-Id: <200103121112.f2CBCaw97888@freefall.freebsd.org> Date: Mon, 12 Mar 2001 03:12:36 -0800 (PST) From: ggong@cal.alumni.berkeley.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/25731: mergemaster -a is not automatic when it finds a file that is missing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25731 >Category: misc >Synopsis: mergemaster -a is not automatic when it finds a file that is missing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 03:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Gilbert Gong >Release: 4.2-STABLE >Organization: >Environment: FreeBSD ggong.baycis.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Mar 2 00:15:19 PST 2001 root@ggong.baycis.com:/usr/src/sys/compile/KERNEL4X i386 >Description: When mergemaster, running with -a, finds a file which does not exist in the target directory, it queries the user. >How-To-Repeat: run mergemaster -a with a file missing from a target directory. >Fix: c161 - root@ggong:/usr/src/usr.sbin/mergemaster#diff -u mergemaster.orig.sh mergemaster.sh --- mergemaster.orig.sh Mon Mar 12 03:01:05 2001 +++ mergemaster.sh Mon Mar 12 03:07:15 2001 @@ -675,8 +675,17 @@ # diff_loop function knows how to handle it. # if [ ! -e "${DESTDIR}${COMPFILE#.}" ]; then - diff_loop - continue + case "${AUTO_RUN}" in + '') + diff_loop + continue + ;; + *) + # If this is an auto run, make it official + echo " *** ${COMPFILE} will remain for your consideration" + continue + ;; + esac # Auto run test fi case "${STRICT}" in >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message