view hgrc/hgrc @ 383:ff48d206d1f1

Miscellaneous tweaks.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 05 Aug 2017 22:11:13 -0700
parents eee03a585ab3
children 7d83a5eab234
line wrap: on
line source

[ui]
username = Ludovic Chabant <ludovic@chabant.com>
editor = vim
commitsubrepos = False

[diff]
git=True

[extensions]
color =
purge =
fetch =
shelve =
rebase =
shelve =
convert =
extdiff =
schemes =
histedit =
graphlog =
progress =
parentrevspec =

[alias]
dlog = log --style=$DOTFILESPATH/lib/hg/mercurial-cli-templates/map-cmdline.dlog
slog = log --limit 10 --style=$DOTFILESPATH/lib/hg/mercurial-cli-templates/map-cmdline.slog
nlog = log --limit 10 --style=$DOTFILESPATH/lib/hg/mercurial-cli-templates/map-cmdline.nlog
sglog = glog --limit 10 --style=$DOTFILESPATH/lib/hg/mercurial-cli-templates/map-cmdline.sglog
clog = glog --limit 10 --template "{rev} {branches} {bookmarks} {tags}    {node|short}    {date|shortdate}    {author|user}\n{desc}\n\n"
wip = glog --style=$DOTFILESPATH/hgrc/wip.style --rev wip

[revsetalias]
wip = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^ and not closed())

[progress]
delay = 1

[schemes]
bb+ssh = ssh://hg@bitbucket.org/
bb+me = ssh://hg@bitbucket.org/ludovicchabant/
gh+ssh = git+ssh://git@github.com:{1}/{2}.git
gh+me = git+ssh://git@github.com:ludovicchabant/{1}.git

[extdiff]
cmd.sbsdiff = diff
opts.sbsdiff = -N -b --side-by-side --width=90

# OS-specific settings
%include hgrc-${OS}

# Local settings (if any)
%include hgrc-local