Insert full name "Repository::{Git,Mercurial}

This commit is contained in:
Kolan Sh 2014-05-09 16:48:04 +04:00
parent d8c8e1c4d8
commit 67b58bf4ba
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ for v in $CHILI_ID_GITORIOUS_REPO; do
VALUES('$chili_project_id', VALUES('$chili_project_id',
'$gitorious_path', '$gitorious_path',
'$gitorious_path', '$gitorious_path',
'Git', 'Repository::Git',
'')" '')"
fi fi
;; ;;

View File

@ -55,8 +55,8 @@ for r in $SQLITE_RESULTS; do
tmp=${repos_paths[$nrepos]%/}; repos_names[$nrepos]=${tmp##*/} tmp=${repos_paths[$nrepos]%/}; repos_names[$nrepos]=${tmp##*/}
tmp=${r%|*}; repos_types[$nrepos]=${tmp#*|} tmp=${r%|*}; repos_types[$nrepos]=${tmp#*|}
case ${repos_types[$nrepos]} in case ${repos_types[$nrepos]} in
hg) repos_types[$nrepos]='Mercurial';; hg) repos_types[$nrepos]='Repository::Mercurial';;
git) repos_types[$nrepos]='Git';; git) repos_types[$nrepos]='Repository::Git';;
esac esac
repos_mails[$nrepos]=${r#*|*|} repos_mails[$nrepos]=${r#*|*|}
let nrepos++ let nrepos++