conf/161835: [patch] SVN-detection in sys/conf/newvers.sh fails with subversion-1.7

Jilles Tjoelker jilles at stack.nl
Fri Oct 21 12:50:07 UTC 2011


The following reply was made to PR conf/161835; it has been noted by GNATS.

From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, david at catwhisker.org
Cc:  
Subject: Re: conf/161835: [patch] SVN-detection in sys/conf/newvers.sh fails
 with subversion-1.7
Date: Fri, 21 Oct 2011 14:42:24 +0200

 > [patch to cope with different location of 1.7's .svn]
 
 This patch will not work if the root of the checkout is not the root of
 the source tree. For example, it is possible to check out all of "base"
 using --depth=immediates, then expand the interesting parts such as head
 and stable/8 using svn update --set-depth=infinity. In that case, the
 path will be ${SYSDIR}/../../.svn (for head) or ${SYSDIR}/../../../.svn
 (for a stable branch); there may be more levels for a user branch.
 Alternatively, just sys could have been checked out, so ${SYSDIR}/.svn
 remains the correct path.
 
 With subversion-1.7, one checkout with multiple branches will use less
 disk space than one checkout per branch.
 
 -- 
 Jilles Tjoelker


More information about the freebsd-bugs mailing list