* build-aux/bootstrap (version_controlled_file): Adapt for SVN
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 12 Mar 2008 03:46:23 +0000 (05:46 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 12 Mar 2008 03:46:23 +0000 (05:46 +0200)
repositories.

ChangeLog
build-aux/bootstrap

index 6b4a911..110fada 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * build-aux/bootstrap (version_controlled_file): Adapt for SVN
+       repositories.
+
 2008-03-11  Bruno Haible  <bruno@clisp.org>
 
        Avoid conflicts between local macro definitions.
index cf6b73b..1a24e82 100755 (executable)
@@ -415,6 +415,8 @@ version_controlled_file() {
             grep '^/[^/]*/[0-9]' > /dev/null && found=yes
   elif test -d .git; then
     git rm -n "$dir/$file" > /dev/null 2>&1 && found=yes
+  elif test -d .svn; then
+    svn log -r HEAD "$dir/$file" > /dev/null 2>&1 && found=yes  
   else
     echo "$0: no version control for $dir/$file?" >&2
   fi