浏览代码

Default VCS is a git now. It can be set in rfa.conf

Serj Kalichev 9 年之前
父节点
当前提交
9de59e3b7c
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 3 0
      conf/rfa.conf
  2. 2 1
      scripts/rfa

+ 3 - 0
conf/rfa.conf

@@ -1,3 +1,6 @@
+# Default VCS type
+#default_vcs="git"
+
 # Minimal GID for vcs groups
 group_gid_min=3000
 

+ 2 - 1
scripts/rfa

@@ -260,12 +260,13 @@ group_w_prefix="vcs-w-"
 group_r_prefix="vcs-r-"
 repository_root=
 repository_link=
+default_vcs="git"
 
 # Parse command line options
 action="help"
 opts_force=""
 opts_conf="/etc/repoforge/rfa.conf"
-opts_vcs="svn"
+opts_vcs="$default_vcs"
 
 while test "x$1" != "x"; do
 	option="$1"