Date: Fri, 21 Oct 2011 12:50:06 GMT From: Jilles Tjoelker <jilles@stack.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/161835: [patch] SVN-detection in sys/conf/newvers.sh fails with subversion-1.7 Message-ID: <201110211250.p9LCo6EP030678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/161835; it has been noted by GNATS. From: Jilles Tjoelker <jilles@stack.nl> To: bug-followup@FreeBSD.org, david@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110211250.p9LCo6EP030678>