X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ae45223b3187476c4828254676edd94aff443ade..ea753782b222bf4ba2fb4683b6363afdd9055b64:/ikiwiki-makerepo diff --git a/ikiwiki-makerepo b/ikiwiki-makerepo index ef6274498..32a9f8646 100755 --- a/ikiwiki-makerepo +++ b/ikiwiki-makerepo @@ -75,7 +75,7 @@ mercurial) hg init "$srcdir" cd "$srcdir" echo .ikiwiki > .hgignore - hg add * .hgignore + hg add hg commit -m "initial import" echo "Directory $srcdir is now set up as a mercurial repository" ;; @@ -83,7 +83,7 @@ bzr) bzr init "$srcdir" cd "$srcdir" echo .ikiwiki > .bzrignore - bzr add * .bzrignore + bzr add bzr commit -m "initial import" echo "Directory $srcdir is now set up as a bzr repository" ;; @@ -94,8 +94,6 @@ monotone) fi mkdir -p "$(dirname "$repository")" - # fix the repository suffix we get from auto.setup - repository="$(echo "$repository" | sed 's/.monotone/.mtn/g')" mtn db init -d "$repository" cleaned_srcdir=$(basename "$srcdir" | tr -s "[:space:]" "_" | sed 's/_$//g')