Created
March 24, 2020 19:54
-
-
Save biancadanforth/ff42bb4fd8b77e3020738be437a3b17c to your computer and use it in GitHub Desktop.
Diff between my current ~/.hgrc and Mythmon's for `alias`, `revsetalias` and `templates`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Users/bdanforth/.hgrc b/Users/bdanforth/.hgrc-mythmon | |
index d2d9e52..e32a8cb 100644 | |
--- a/Users/bdanforth/.hgrc | |
+++ b/Users/bdanforth/.hgrc-mythmon | |
@@ -26,13 +26,11 @@ absorb = | |
js-format = /Users/bdanforth/.mozbuild/version-control-tools/hgext/js-format | |
shelve = | |
[alias] | |
-wip = log --graph --rev=wip --template=wip | |
-smart-annotate = annotate -w --skip ignored_changesets | |
+wip = log --graph --rev=mywip --template=mywip | |
[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) | |
+mywip = (parents(not public()) or not public() or .) and (not obsolete() or orphan()^) and not closed() and not (fxheads() - date(-90)) | |
[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}")}' | |
+mywip = (parents(not public()) or not public() or .) and (not obsolete() or orphan()^) and not closed() and not (fxheads() - date(-90)) | |
[color] | |
wip.bookmarks = yellow underline | |
wip.branch = yellow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment