Last active
December 3, 2015 00:06
Revisions
-
demoive revised this gist
Dec 3, 2015 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -22,11 +22,19 @@ status.removed = red bold # R #sl = smartlog --template "{shortest(node, 6)} {author|user} {label(\"sl.diff\", phabdiff)}{if(phabdiff, \" \")}{bookmarks % '{ifeq(bookmark, current, label(\"sl.curbook\", \"{bookmark}* \"))}'}{bookmarks % '{ifeq(bookmark, current, \"\", label(\"sl.book\", \"{bookmark} \"))}'}{if(bookmarks, if(remotebookmarks, \"\", \" \"))}{if(remotebookmarks, label(\"sl.rembook\", \"{remotebookmarks} \"))}{ifeq(branch, 'default', '', label(\"sl.branch\", \"{branch} \"))} {label(\"evolution.troubles\", troubles)}\n{desc|firstline}\n\n" # Smart Log (long) - sll # - Using the native `--commit-info` gives *all* changes (instead of just Modified/Added/Removed) and a performance gain sll = smartlog --commit-info --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}\n\n" # Intelligent Log - il # - Used before the `--commit-info` option was added in D1677101 (t5418936) # - Also reveals more info about the changes with diffstat il = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}\n ({sub(\"(\d+):\s+\+(\d+)\/-(\d+)\", \"\\\1 files changed: +\\\2/-\\\3\", diffstat)})')}\n\n" # Genius Log # - Colors the individual changeset statuses gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}\n ({sub(\"(\d+):\s+\+(\d+)\/-(\d+)\", \"\\\1 files changed: +\\\2/-\\\3\", diffstat)})')}\n\n" # Very Smart Log # - Doesn't highlight current bookmark (yellow & asterix) # - Underline's the `diffstat` info without having to colorize it appropriately vsl = smartlog --style ~/.hg_template -
demoive revised this gist
Dec 2, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -23,10 +23,10 @@ status.removed = red bold # R # Smart Log (long) - sll # Intelligent Log - il sll = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}\n ({sub(\"(\d+):\s+\+(\d+)\/-(\d+)\", \"\\\1 files changed: +\\\2/-\\\3\", diffstat)})')}\n\n" # Genius Log gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}\n ({sub(\"(\d+):\s+\+(\d+)\/-(\d+)\", \"\\\1 files changed: +\\\2/-\\\3\", diffstat)})')}\n\n" # Very Smart Log vsl = smartlog --style ~/.hg_template -
demoive revised this gist
Dec 2, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -23,10 +23,10 @@ status.removed = red bold # R # Smart Log (long) - sll # Intelligent Log - il sll = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}\n ({diffstat})')}\n\n" # Genius Log gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}\n ({diffstat})')}\n\n" # Very Smart Log vsl = smartlog --style ~/.hg_template -
demoive revised this gist
Dec 2, 2015 . 1 changed file with 3 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ status.added = green bold # A status.removed = red bold # R #status.clean = # C #status.deleted = cyan bold # #status.missing = # ! #status.untracked = blue bold # ? #status.ignored = black bold # I @@ -17,23 +17,16 @@ status.removed = red bold # R #color.sl.branch=bold #color.evolution.troubles=red [alias] #sl = smartlog --template "{shortest(node, 6)} {author|user} {label(\"sl.diff\", phabdiff)}{if(phabdiff, \" \")}{bookmarks % '{ifeq(bookmark, current, label(\"sl.curbook\", \"{bookmark}* \"))}'}{bookmarks % '{ifeq(bookmark, current, \"\", label(\"sl.book\", \"{bookmark} \"))}'}{if(bookmarks, if(remotebookmarks, \"\", \" \"))}{if(remotebookmarks, label(\"sl.rembook\", \"{remotebookmarks} \"))}{ifeq(branch, 'default', '', label(\"sl.branch\", \"{branch} \"))} {label(\"evolution.troubles\", troubles)}\n{desc|firstline}\n\n" # Smart Log (long) - sll # Intelligent Log - il sll = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('red bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}\n ({diffstat})')}\n\n" # Genius Log gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('red bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}\n ({diffstat})')}\n\n" # Very Smart Log vsl = smartlog --style ~/.hg_template -
demoive revised this gist
Dec 2, 2015 . 1 changed file with 16 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ [ui] username = Paulo Avila #<> status.modified = blue bold # M status.added = green bold # A @@ -10,9 +10,23 @@ status.removed = red bold # R #status.untracked = blue bold # ? #status.ignored = black bold # I #color.sl.diff=bold #color.sl.curbook=yellow #color.sl.book=green #color.sl.rembook=green #color.sl.branch=bold #color.evolution.troubles=red #color.sl.diff=bold #color.sl.curbook=yellow #color.sl.book=green #color.sl.rembook=green #color.sl.branch=bold #color.evolution.troubles=red [alias] #sl = smartlog --template "{shortest(node, 6)} {author|user} {label(\"sl.diff\", phabdiff)}{if(phabdiff, \" \")}{bookmarks % '{ifeq(bookmark, current, label(\"sl.curbook\", \"{bookmark}* \"))}'}{bookmarks % '{ifeq(bookmark, current, \"\", label(\"sl.book\", \"{bookmark} \"))}'}{if(bookmarks, if(remotebookmarks, \"\", \" \"))}{if(remotebookmarks, label(\"sl.rembook\", \"{remotebookmarks} \"))}{ifeq(branch, 'default', '', label(\"sl.branch\", \"{branch} \"))} {label(\"evolution.troubles\", troubles)}\n{desc|firstline}\n\n" # Smart Log (long) - sll # Intelligent Log - il -
demoive revised this gist
Dec 2, 2015 . 1 changed file with 10 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,24 +1,25 @@ [ui] username = Paulo Ávila #<> status.modified = blue bold # M status.added = green bold # A status.removed = red bold # R #status.clean = # C #status.deleted = cyan bold # #status.missing = ?? # ! #status.untracked = blue bold # ? #status.ignored = black bold # I [alias] #sl=smartlog --template "{shortest(node)} {author|user} {bookmarks % '{ifeq(bookmark, current, label(\"custom.yellow\", \" {bookmark}*\"), label(\"custom.green\", \" {bookmark}\"))}'} {ifeq(branch, 'default', '', label(\"custom.bold\", branch))}\n{desc|firstline}\n\n" # Smart Log (long) - sll # Intelligent Log - il sll = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('red bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}')}\n\n" # Genius Log gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{if(phabdiff, label('red bold', \" {phabdiff}\"))}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}')}\n\n" # Very Smart Log vsl = smartlog --style ~/.hg_template -
demoive revised this gist
Apr 22, 2015 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,8 +13,9 @@ status.removed = red bold [alias] #sl=smartlog --template "{shortest(node)} {author|user} {bookmarks % '{ifeq(bookmark, current, label(\"custom.yellow\", \" {bookmark}*\"), label(\"custom.green\", \" {bookmark}\"))}'} {ifeq(branch, 'default', '', label(\"custom.bold\", branch))}\n{desc|firstline}\n\n" # Smart Log (long) - sll # Intelligent Log - il sll = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}')}\n\n" # Genius Log gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}')}\n\n" -
demoive revised this gist
Aug 3, 2014 . No changes.There are no files selected for viewing
-
demoive created this gist
Aug 3, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ [ui] username = Paulo Ávila #<> status.modified = blue bold status.added = green bold status.removed = red bold #status.deleted = cyan bold #status.missing = ?? #status.unknown = blue bold #status.ignored = black bold [alias] #sl=smartlog --template "{shortest(node)} {author|user} {bookmarks % '{ifeq(bookmark, current, label(\"custom.yellow\", \" {bookmark}*\"), label(\"custom.green\", \" {bookmark}\"))}'} {ifeq(branch, 'default', '', label(\"custom.bold\", branch))}\n{desc|firstline}\n\n" # Intelligent Log il = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n M {file}\'}{file_adds % \'\n A {file}\'}{file_dels % \'\n R {file}\'}')}\n\n" # Genius Log gl = smartlog --template "{shortest(node)} {label('blue', \"{author|user}\")}{bookmarks % ' {ifeq(bookmark, current, label(\"yellow\", \"{bookmark}*\"), label(\"green\", \"{bookmark}\"))}'} {label(\"cyan\", \"({date|age})\")}\n{desc|firstline}{ifeq(rev, revset('.'), '\n{file_mods % \'\n {label(\"status.modified\", \"M\")} {label(\"magenta\", \"{file}\")}\'}{file_adds % \'\n {label(\"status.added\", \"A\")} {label(\"magenta\", \"{file}\")}\'}{file_dels % \'\n {label(\"status.removed\", \"R\")} {label(\"magenta\", \"{file}\")}\'}')}\n\n" # Very Smart Log vsl = smartlog --style ~/.hg_template