File: vis

package info (click to toggle)
myrepos 1.20180726
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 508 kB
  • sloc: perl: 1,856; sh: 44; makefile: 40
file content (16 lines) | stat: -rw-r--r-- 1,105 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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