[ui]
ccommit.verbose=true

[extensions]
color=
graphlog=
histedit=
rebase=
record=
shelve=
strip=
mmf_setup.nbclean=$MMF_SETUP/nbclean.py

[hooks]
# This hook adds "%include ../.hgrc" to .hg/hgrc if the .hgrc file exists in
# the top level.  This allows one to store a set of paths for example.
# See http://stackoverflow.com/a/24195392/1088938
update = if [ -e .hgrc ] && touch .hg/hgrc \
                         && ! grep -q '%include \.\./\.hgrc' .hg/hgrc; then \
           echo '%include ../.hgrc' >> .hg/hgrc; \
         fi

[alias]
lga = glog --style=${MMF_SETUP}/_data/hgthemes/map-cmdline.lg -l20

cediff  = !hg nbclean && { hg ediff  "$@"; hg nbrestore; }
