[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] scmversion: 'Improve' svn interaction.



commit 8f55cb0e360f977dc790adc393a6fd32b9933351
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Fri Aug 2 16:52:55 2013 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Fri Aug 2 17:09:26 2013 +0100

    scmversion: 'Improve' svn interaction.
    
    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@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Acked-by: Keir Fraser <keir@xxxxxxx>
---
 xen/tools/scmversion |   11 +----------
 1 files changed, 1 insertions(+), 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
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.