On Monday 01 June 2009 14:03:47 Joseph Rawson wrote:
> Hi!

While moving along on my upgrade to 4.8, I remembered that I have my own 
install/ directory in a local subversion repository.  Thinking about it (it 
has been many months since I've looked at this), I remember trying to use 
tailor to convert the cvs repository into svn.  I couldn't use the cvs2svn 
script, as you need filesystem access to the cvs repository for that script 
to work.  Plus, I don't thing that the cvs2svn script is able to keep the svn 
repository in sync with the cvs repository, but is rather a "one-time" tool.  
I may be wrong about that, it's been many years since I've used it.

On the other hand tailor will mirror the whole repository in one format to 
another repository in possibly another format.  It's a very interesting tool, 
but it's also not the easiest to configure correctly.  Regardless, now that 
unattended is using subversion, I don't have to worry about this anymore.

The reason I'm writing the email is because, due to using a local subversion 
repository, I have noticed that I had to modify the tools/prepare script to 
ignore files in the .svn/ directories.  My modification may not be complete 
or correct, but it seems to have been working ok for me.

Here is the link for tailor, in case anybody is interested in learning about 
it.  I think that it's an interesting tool.

http://progetti.arstecnica.it/tailor



-- 
Thanks:
Joseph Rawson
Index: install/tools/prepare
===================================================================
--- install/tools/prepare	(revision 2986)
+++ install/tools/prepare	(working copy)
@@ -13,7 +13,7 @@
 # Default to ENU if nothing passed in as first arg
 if [ ".$1" == "." ]; then WINLANG="ENU"; else WINLANG="$1"; fi
 
-for cmdfile in `egrep -lri "URL\|($WINLANG|ALL)" scripts/$2`; do
+for cmdfile in `egrep -lri "URL\|($WINLANG|ALL)" scripts/$2 | grep -v svn-base`; do
 
   echo Processing $cmdfile
 

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to