[Fai-commit] r4012 - people/eartoast/features/get-config-svn/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Mon Sep 25 10:12:56 UTC 2006


Author: glaweh-guest
Date: 2006-09-25 10:12:55 +0000 (Mon, 25 Sep 2006)
New Revision: 4012

Modified:
   people/eartoast/features/get-config-svn/lib/get-config-dir-svn
Log:
- fix error message
- add svn+http protocol


Modified: people/eartoast/features/get-config-svn/lib/get-config-dir-svn
===================================================================
--- people/eartoast/features/get-config-svn/lib/get-config-dir-svn	2006-09-24 20:45:08 UTC (rev 4011)
+++ people/eartoast/features/get-config-svn/lib/get-config-dir-svn	2006-09-25 10:12:55 UTC (rev 4012)
@@ -10,7 +10,6 @@
 ### END SUBROUTINE INFO
 
 # matched string: "svn://user@host/svnpath"
-# dir contains user at host/path/to/cvsroot
 protocol=$(expr match "$FAI_CONFIG_SRC" '\([^:]*\)://')
 username=$(expr match "$FAI_CONFIG_SRC" '[^:]*://\([^@]*\)@')
 svnpath=$(expr match "$FAI_CONFIG_SRC" '[^:]*://[^@]\+@\(\S\+\)')
@@ -19,8 +18,11 @@
 	svn)
 		svnurl="svn://$svnpath"
 		;;
+	svn+http)
+		svnurl="http://$svnpath"
+		;;
 	*)
-		echo "get-config-dir-cvs: protocol $protocol not implemented"
+		echo "get-config-dir-svn: protocol $protocol not implemented"
 		exit 1
 		;;
 esac




More information about the Fai-commit mailing list