All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
	Xen-devel <xen-devel@lists.xen.org>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Keir Fraser <keir@xen.org>,
	Marek Marczykowski <marmarek@invisiblethingslab.com>,
	Jan Beulich <jbeulich@suse.com>,
	Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [Patch v2] scmversion: 'Improve' svn interaction.
Date: Fri, 02 Aug 2013 17:02:30 +0100	[thread overview]
Message-ID: <CE2196A6.597BF%keir.xen@gmail.com> (raw)
In-Reply-To: <1375458775-5240-1-git-send-email-andrew.cooper3@citrix.com>

On 02/08/2013 16:52, "Andrew Cooper" <andrew.cooper3@citrix.com> 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 <andrew.cooper3@citrix.com>
> CC: Marek Marczykowski <marmarek@invisiblethingslab.com>
> CC: Keir Fraser <keir@xen.org>
> CC: Jan Beulich <jbeulich@suse.com>
> CC: Ian Campbell <ian.campbell@citrix.com>
> CC: Ian Jackson <Ian.Jackson@eu.citrix.com>

Acked-by: Keir Fraser <keir@xen.org>

> ---
> 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

  parent reply	other threads:[~2013-08-02 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 15:52 [Patch v2] scmversion: 'Improve' svn interaction Andrew Cooper
2013-08-02 16:01 ` Ian Campbell
2013-08-02 16:02 ` Keir Fraser [this message]
2013-08-02 16:18   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CE2196A6.597BF%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=marmarek@invisiblethingslab.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.