Skip to content

Instantly share code, notes, and snippets.

@kashav
Last active September 23, 2021 18:05
Show Gist options
  • Save kashav/22fbd07199adc66fbde9aa37ee762887 to your computer and use it in GitHub Desktop.
Save kashav/22fbd07199adc66fbde9aa37ee762887 to your computer and use it in GitHub Desktop.
[ui]
username = Kashav Madan <kshvmdn@gmail.com>
tweakdefaults = true
interface = curses
merge = internal:merge
ignore = ~/.hgignore
[diff]
git = true
showfunc = true
[extensions]
absorb =
histedit =
rebase =
evolve = /home/kashav/.mozbuild/evolve/hgext3rd/evolve
blackbox =
firefoxtree = /home/kashav/.mozbuild/version-control-tools/hgext/firefoxtree
clang-format = /home/kashav/.mozbuild/version-control-tools/hgext/clang-format
js-format = /home/kashav/.mozbuild/version-control-tools/hgext/js-format
push-to-try = /home/kashav/.mozbuild/version-control-tools/hgext/push-to-try
shelve =
fsmonitor =
purge =
show =
# uncommit =
share =
[alias]
wip = log --graph --rev=wip --template=wip
smart-annotate = annotate -w --skip ignored_changesets
subl = ! [ ! -z "$@" ] && $HG status --no-status --change $@ | xargs subl
revert-file = ! [ ! -z "$@" ] && $HG revert -r .^ $@ && subl $@
[revsetalias]
wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or orphan()^) and not closed() and not (fxheads() - date(-90))
ignored_changesets = desc("ignore-this-changeset") or extdata(get_ignored_changesets)
[templates]
wip = '{label("wip.branch", if(branches,"{branches} "))}{label(ifeq(graphnode,"x","wip.obsolete","wip.{phase}"),"{rev}:{node|short}")}{label("wip.user", " {author|user}")}{label("wip.tags", if(tags," {tags}"))}{label("wip.tags", if(fxheads," {fxheads}"))}{if(bookmarks," ")}{label("wip.bookmarks", if(bookmarks,bookmarks))}{label(ifcontains(rev, revset("parents()"), "wip.here"), " {desc|firstline}")}'
[color]
wip.bookmarks = yellow underline
wip.branch = yellow
wip.draft = green
wip.here = red
wip.obsolete = none
wip.public = blue
wip.tags = yellow
wip.user = magenta
[experimental]
graphshorten = true
crecord = true
[extdata]
get_ignored_changesets = shell:cat `hg root`/.hg-annotate-ignore-revs 2> /dev/null || true
[rebase]
experimental.inmemory = yes
[Desktop Entry]
Version=1.0
Name=Firefox Nightly
GenericName=Web Browser
Comment=Browse the Web
Exec=/opt/firefoxnightly/firefox/firefox %u
Icon=/opt/firefoxnightly/firefox/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
Actions=ProfileManager;new-window;new-private-window;
X-Desktop-File-Install-Version=0.24
[Desktop Action ProfileManager]
Name=Profile Manager
Exec=/opt/firefoxnightly/firefox/firefox -P
[Desktop Action new-window]
Name=New window
Exec=/opt/firefoxnightly/firefox/firefox -new-window
[Desktop Action new-private-window]
Name=New private window
Exec=/opt/firefoxnightly/firefox/firefox -private-window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment