Browse Source

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

Serj Kalichev 9 years ago
parent
commit
9de59e3b7c
2 changed files with 5 additions and 1 deletions
  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"