Admin/lib/Tools/churn_pie
author hoelzl
Wed, 09 Apr 2014 09:37:48 +0200
changeset 56480 093ea91498e6
parent 56417 04d0083cb9e5
child 57438 663037c5d848
permissions -rwxr-xr-x
field_simps: better support for negation and division, and power
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56417
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     1
#!/usr/bin/env bash
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     2
#
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     3
# Author: Florian Haftmann, TU Muenchen
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     4
#
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     5
# DESCRIPTION: pie chart with mercurial churn statistics for specified aliases file
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     6
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     7
ALIAS="${1:-$ISABELLE_HOME/Admin/user-aliases}"
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     8
shift
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
     9
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
    10
SCRIPT="$ISABELLE_HOME/Admin/lib/scripts/churn_pie"
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
    11
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
    12
cd "$(dirname "$ALIAS")"
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
    13
04d0083cb9e5 churning pie charts (with non-canonical prerequisites!)
haftmann
parents:
diff changeset
    14
hg churn --aliases "$ALIAS" | "$SCRIPT" "$@"