From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [Patch v2] scmversion: 'Improve' svn interaction. Date: Fri, 02 Aug 2013 17:02:30 +0100 Message-ID: References: <1375458775-5240-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1375458775-5240-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Xen-devel Cc: Ian Jackson , Keir Fraser , Marek Marczykowski , Jan Beulich , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 02/08/2013 16:52, "Andrew Cooper" wrote: > Xen has never been in an svn tree, and the current code will unconditionally > create a .svn directory when run from a tarball. > > Therefore, simply discard the svn support. > > Signed-off-by: Andrew Cooper > CC: Marek Marczykowski > CC: Keir Fraser > CC: Jan Beulich > CC: Ian Campbell > CC: Ian Jackson Acked-by: Keir Fraser > --- > Changes since v1: > * Completely discard svn support rather than fixing it, as suggested by IanC > --- > xen/tools/scmversion | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/xen/tools/scmversion b/xen/tools/scmversion > index b0c3b95..b6ce049 100755 > --- a/xen/tools/scmversion > +++ b/xen/tools/scmversion > @@ -1,7 +1,7 @@ > #!/bin/sh > # > # This scripts adds local version information from the version > -# control systems git, mercurial (hg) and subversion (svn). > +# control systems git and mercurial (hg). > # > # If something goes wrong, send a mail the kernel build mailinglist > # (see MAINTAINERS) and CC Nico Schottelius > @@ -75,15 +75,6 @@ scm_version() > # All done with mercurial > return > fi > - > - # Check for svn and a svn repo. > - if rev=`LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last > Changed Rev'`; then > - rev=`echo $rev | awk '{print $NF}'` > - printf -- 'svn:%s' "$rev" > - > - # All done with svn > - return > - fi > } > > cd $srctree