Snippets

Craig Phillips Standard Mercurial Config / ini file

Created by Craig Phillips last modified
[ui]
username = Your Name <andemail@address.here>
ignore = D:\Documents\hgignore_global.txt
ssh = "C:\Utils\putty\plink.exe" -ssh -2 -batch -C
editor="C:\Program Files (x86)\Notepad++\notepad++.exe" -multiInst -nosession

[merge-tools]
beyondcompare4.args=$local $other $base $output /ro /lefttitle=local /centertitle=base /righttitle=other /automerge /reviewconflicts /solo
beyondcompare4.regkey=Software\Scooter Software\Beyond Compare 4
beyondcompare4.regname=ExePath
beyondcompare4.gui=True
beyondcompare4.priority=-2

[extdiff]
cmd.vdiff=C:\Program Files\Beyond Compare 4\BCompare.exe
opts.vdiff=/lro /lefttitle='$plabel1' /righttitle='$clabel' /solo /expandall $parent $child

[auth]
repo.prefix = https://server/repo_path
repo.username = username
repo.password = password

[extensions]
eol=
color=
strip=
shelve=
purge=
churn=
rebase=

[alias]
whoami = showconfig ui.username
undo = revert --all --no-backup
br = branch
brs = branches
cb = commit --close-branch
lg = log --template "{label('yellow',node|short)} {label('red', branch)} {label('cyan', tags)} {desc} [{date|date} by {label('green',author)}]\n"
logg = log --graph
loggc = log --graph --style compact
s = !hg sum && hg status
blame = annotate --user --changeset --line-number --date -q

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.