lkml.org 
[lkml]   [2003]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel.bkbits.net off the air
On Mon, 10 Nov 2003, jw schultz wrote:

> If the history file (or another single file) is enough:
>
> starthist=`ls -l $CVSROOT/CVSROOT/history`
> curhist=""
>
> while [ "$Starthist" != "$curhist" ]
> do
> starthist=`ls -l $CVSROOT/CVSROOT/history`
> rsync .....
> curhist=`ls -l $CVSROOT/CVSROOT/history`
> done

BK2CVS does not compile $CVSROOT/CVSROOT/history, but the second one
should work:

> If not you can test the directory.
>
> ls -l $CVSROOT/CVSROOT >$TMPFILE.start
> touch $TMPFILE.test
>
> until diff -q $TMPFILE.start $TMPFILE.test >/dev/null
> do
> ls -l $CVSROOT/CVSROOT >$TMPFILE.start
> rsync .....
> ls -l $CVSROOT/CVSROOT >$TMPFILE.test
> done
> rm -f $TMPFILE.start $TMPFILE.test



- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.079 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site