X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/de3cf4eb2025f65ee6b809277adbcaa287345da9..07489a34afa768aee3bc9f23860c8a3f0e55a1db:/mr?ds=inline diff --git a/mr b/mr index 4350dad..6df8cd7 100755 --- a/mr +++ b/mr @@ -1559,12 +1559,12 @@ git_test = test -d "$MR_REPO"/.git bzr_test = test -d "$MR_REPO"/.bzr cvs_test = test -d "$MR_REPO"/CVS hg_test = test -d "$MR_REPO"/.hg +darcs_test = test -d "$MR_REPO"/_darcs fossil_test = test -f "$MR_REPO"/_FOSSIL_ git_bare_test = test -d "$MR_REPO"/refs/heads && test -d "$MR_REPO"/refs/tags && test -d "$MR_REPO"/objects && test -f "$MR_REPO"/config && test "`GIT_CONFIG="$MR_REPO"/config git config --get core.bare`" = true -darcs_test = test -d "$MR_REPO"/_darcs svn_update = svn update "$@" git_update = git pull "$@" @@ -1594,7 +1594,7 @@ git_record = git commit -a "$@" bzr_record = bzr commit "$@" hg_record = hg commit -m "$@" darcs_record = darcs record -a -m "$@" -fossil_record = git commit "$@" +fossil_record = fossil commit "$@" svn_push = : git_push = git push "$@" @@ -1667,7 +1667,7 @@ git_bare_register = mr -c "$MR_CONFIG" config "`pwd`" checkout="git clone --bare '$url' '$MR_REPO'" fossil_register = url=`fossil remote-url` - repo=`fossil info | grep repository | sed -e s/repository:*.//g -e s/\ //g` + repo=`fossil info | grep repository | sed -e 's/repository:*.//g' -e 's/ //g'` echo "Registering fossil repository $url in $MR_CONFIG" mr -c "$MR_CONFIG" config "`pwd`" checkout="mkdir -p '$MR_REPO' && cd '$MR_REPO' && fossil open '$repo'"