X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/4fcd993763e3df3e77d6b86bbd514f417d0a5bcd..177abc159286a0e1c19614a169aeae6036b5955a:/lib/git-svn diff --git a/lib/git-svn b/lib/git-svn new file mode 100644 index 0000000..4edda1d --- /dev/null +++ b/lib/git-svn @@ -0,0 +1,16 @@ +# Adds support for git-svn repositories. + +# To make mr use this file, add a line like this inside the [DEFAULT] +# section of your ~/.mrconfig +#include = cat /usr/share/mr/git-svn + +git_test = test -d "$MR_REPO"/.git && ! test -d "$MR_REPO"/.git/svn/git-svn +git_svn_test = test -d "$MR_REPO"/.git/svn/git-svn +git_svn_update = git-svn fetch +git_svn_status = git status "$@" || true +git_svn_commit = git-svn dcommit +git_svn_record = git commit -a "$@" +git_svn_diff = git diff "$@" +git_svn_log = git log "$@" + +# vim:sw=8:sts=0:ts=8:noet