r6249 - /update

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Mon Feb 18 19:35:36 UTC 2008


Author: tiber-guest
Date: Mon Feb 18 19:35:35 2008
New Revision: 6249

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=6249
Log:
Import all-packages-root

Added:
    update   (with props)

Added: update
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/update?rev=6249&op=file
==============================================================================
--- update (added)
+++ update Mon Feb 18 19:35:35 2008
@@ -1,0 +1,24 @@
+#!/usr/bin/ruby
+
+svnRoot='svn+alioth://svn.debian.org/svn/pkg-vdr-dvb/vdr/'
+
+roots=`svn ls #{svnRoot}`
+
+for root in roots do
+    root.chomp!
+    if File.exists?(root)
+        puts "Updating #{root}"
+        `cd #{root} ; svn up ; cd ..`
+    else
+        if `svn ls #{svnRoot}/#{root}/trunk 2>/dev/null`.include?('debian/')
+             puts "Checking out #{root}"
+            `svn co #{svnRoot}/#{root}/trunk #{root} 2>/dev/null`
+        end
+    end
+end
+
+if File.exists?('tarballs')
+    `cd tarballs ; svn up ; cd ..`
+else
+    `svn co #{svnRoot}/../tarballs 2>/dev/null`
+end

Propchange: update
------------------------------------------------------------------------------
    svn:executable = 




More information about the pkg-vdr-dvb-changes mailing list