Admin/lib/Tools/churn_pie
author wenzelm
Mon, 03 Oct 2016 16:15:59 +0200
changeset 64020 355b78441650
parent 57438 663037c5d848
child 64881 9eff4c62579a
permissions -rwxr-xr-x
clarified: a variant of -i is the default, but its output is not as precise as it might seem;

#!/usr/bin/env bash
#
# Author: Florian Haftmann, TU Muenchen
#
# DESCRIPTION: pie chart with Mercurial churn statistics

ALIAS="${1:-$ISABELLE_HOME/Admin/user-aliases}"
shift

SCRIPT="$ISABELLE_HOME/Admin/lib/scripts/churn_pie"

cd "$(dirname "$ALIAS")"

hg churn --aliases "$ALIAS" | "$SCRIPT" "$@"