Update of /cvsroot/alsa/alsa-kernel/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv21072

Modified Files:
        ksync 
Log Message:
More fixes for lsync

Index: ksync
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/scripts/ksync,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ksync       30 Sep 2002 21:32:11 -0000      1.14
+++ ksync       1 Oct 2002 14:44:28 -0000       1.15
@@ -81,6 +81,7 @@
 
 # Translation tables for CVS user IDs
 CVS_USER = {'perex':'Jaroslav Kysela <[EMAIL PROTECTED]>',
+           'uid53661':'Jaroslav Kysela <[EMAIL PROTECTED]>',       # seems SF CVS 
+malfunction
            'tiwai':'Takashi Iwai <[EMAIL PROTECTED]>',
            'abramo':'Abramo Bagnara <[EMAIL PROTECTED]>'}
 
@@ -687,17 +688,18 @@
                                print 'Using kernel patch %s' % npatch
                                patch = npatch
 
-               CVSROOT = '~/alsa.local'
-               os.chdir(os.path.expanduser('~/'))
-               os.system('rm -rf alsa.local')
-               os.system('mkdir alsa.local')
-               os.chdir(os.path.expanduser('~/alsa.local'))
-               os.system('cvs -d/home/src/alsa co -P %s alsa-driver alsa-kernel' % 
get_cvs_date_param1(to_cvs_time))
-               if os.path.exists(patch):
-                       os.chdir(os.path.expanduser('~/alsa.local/alsa-kernel'))
-                       os.system('patch -p2 < %s' % patch)
-                       print 'Is this ok? Press Ctrl-C to abort...'
-                       sys.stdin.readline()
+               if to_cvs_time > 0:
+                       CVSROOT = '~/alsa.local'
+                       os.chdir(os.path.expanduser('~/'))
+                       os.system('rm -rf alsa.local')
+                       os.system('mkdir alsa.local')
+                       os.chdir(os.path.expanduser('~/alsa.local'))
+                       os.system('cvs -d/home/src/alsa co -P %s alsa-driver 
+alsa-kernel' % get_cvs_date_param1(to_cvs_time))
+                       if os.path.exists(patch):
+                               
+os.chdir(os.path.expanduser('~/alsa.local/alsa-kernel'))
+                               os.system('patch -p2 < %s' % patch)
+                               print 'Is this ok? Press Ctrl-C to abort...'
+                               sys.stdin.readline()
 
                BKROOT = '~/bk/linux-sound/work'
                os.chdir(os.path.expanduser('~/bk/linux-sound'))
@@ -708,7 +710,7 @@
                        os.remove(os.path.expanduser(PATCH_UPDATE))
 
                from_cvs_time = get_last_lsync_time()
-               if to_cvs_time <= from_cvs_time:
+               if to_cvs_time > 0 and to_cvs_time <= from_cvs_time:
                        print 'Time < last_lsync_time (%s)' % time.strftime('%Y/%m/%d 
%H:%M:%S', time.gmtime(from_cvs_time))
                        sys.exit(1)
                diffall(0, from_cvs_time, to_cvs_time)



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to