From: Joey Hess Date: Sat, 19 Jan 2008 18:18:46 +0000 (-0500) Subject: * Add lib/git-svn, which can be included to add support for git-svn X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/177abc159286a0e1c19614a169aeae6036b5955a?hp=4fcd993763e3df3e77d6b86bbd514f417d0a5bcd * Add lib/git-svn, which can be included to add support for git-svn repositories. --- diff --git a/debian/changelog b/debian/changelog index 9f4729f..44d5de3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mr (0.21) UNRELEASED; urgency=low + + * Add lib/git-svn, which can be included to add support for git-svn + repositories. + + -- Joey Hess Sat, 19 Jan 2008 13:18:17 -0500 + mr (0.20) unstable; urgency=low * Add -q flag. 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