author | wenzelm |
Fri, 04 Nov 2022 11:38:01 +0100 | |
changeset 76425 | 3253a7b2dea2 |
parent 73483 | 804e75127f29 |
permissions | -rwxr-xr-x |
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 |
# |
57438 | 5 |
# DESCRIPTION: pie chart with Mercurial churn statistics |
56417
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 |
|
73483 | 14 |
export LANG=C |
15 |
export HGPLAIN= |
|
16 |
||
73479 | 17 |
"${HG:-hg}" churn --aliases "$ALIAS" | "$SCRIPT" "$@" |