Admin/lib/Tools/churn_pie
author wenzelm
Sun, 12 Jan 2025 13:54:44 +0100
changeset 81779 e9f3dbcf854f
parent 73483 804e75127f29
permissions -rwxr-xr-x
avoid conflict with slf4j from sqlite (see also dcddfe4f43a3), notably this message on "isabelle find_facts": SLF4J(W): Class path contains multiple SLF4J providers. SLF4J(W): Found provider [org.slf4j.nop.NOPServiceProvider@1576514a] SLF4J(W): Found provider [org.apache.logging.slf4j.SLF4JServiceProvider@6a84d4e3] SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J(I): Actual provider is of type [org.slf4j.nop.NOPServiceProvider@1576514a]
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
#
57438
663037c5d848 tuned description: fit into 80 chars terminal;
wenzelm
parents: 56417
diff changeset
     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
804e75127f29 more robust invocation of hg;
wenzelm
parents: 73479
diff changeset
    14
export LANG=C
804e75127f29 more robust invocation of hg;
wenzelm
parents: 73479
diff changeset
    15
export HGPLAIN=
804e75127f29 more robust invocation of hg;
wenzelm
parents: 73479
diff changeset
    16
73479
6e20976d58f5 more robust invocation of hg;
wenzelm
parents: 64881
diff changeset
    17
"${HG:-hg}" churn --aliases "$ALIAS" | "$SCRIPT" "$@"