[go: up one dir, main page]

Menu

[r2757]: / coco / svn_update_flist  Maximize  Restore  History

Download this file

21 lines (18 with data), 400 Bytes

#!/bin/csh

if( -e files.txt ) then
	while( 1 )
		echo -n "Local file list found, update list? [y/n] >"
		set ans = $<
		if( "$ans" == "" || "$ans" == "n" ) break
		if( "$ans" == "y" ) then
			echo "updating file list"
			echo "." | tee files.txt
			svn -R list | tee -a files.txt
			break
		endif
	end
else
	echo "creating file list"
	echo "." | tee files.txt
	svn -R list | tee -a files.txt
endif