# Adds a "mr vis" command to visualise repository history.
# To make mr use this file, add a line like this inside the [DEFAULT]
# section of your ~/.mrconfig
#include = cat /usr/share/mr/vis
cvs_vis = cvs diff "$@" | $EDITOR -
svn_vis = svn status "$@" | $EDITOR -
git_annex_vis = if [ "$DISPLAY" ] && command -v gitk > /dev/null 2>&1 ; then gitk --all "$@" ; else tig --all "$@" ; fi
git_cvs_vis = cd "$MR_REPO/gitdir" && if [ "$DISPLAY" ] && command -v gitk > /dev/null 2>&1 ; then gitk --all "$@" ; else tig --all "$@" ; fi
git_fake_bare_vis = if [ "$DISPLAY" ] && command -v gitk > /dev/null 2>&1 ; then gitk --all "$@" ; else tig --all "$@" ; fi
git_subtree_vis = if [ "$DISPLAY" ] && command -v gitk > /dev/null 2>&1 ; then gitk --all "$@" ; else tig --all "$@" ; fi
git_svn_vis = if [ "$DISPLAY" ] && command -v gitk > /dev/null 2>&1 ; then gitk --all "$@" ; else tig --all "$@" ; fi
git_vis = if [ "$DISPLAY" ] && command -v gitk > /dev/null 2>&1 ; then gitk --all "$@" ; else tig --all "$@" ; fi
bzr_vis = bzr visualize "$@"
hg_vis = if [ "$DISPLAY" ] ; then hg view "$@" ; else hgv "$@" ; fi
|