Skip to content

Commit

Permalink
hg: Tweak log style slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
ches committed Feb 10, 2015
1 parent 7671940 commit c83eb0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .hglib/styles/map-cmdline.nlog
@@ -1,6 +1,6 @@
changeset = 'changeset: \033[0;33m{rev}\033[0m:\033[0;33m{node|short} \033[0;34m[{phase}]\033[0m\033[0m{branches}{bookmarks}{tags}\nauthor: {author}\ndate: {date|rfc822date} ({date|age})\nsummary: {desc|firstline|strip}\n\n{file_mods}{file_adds}{file_dels}\n\n'

changeset_verbose = 'changeset: \033[0;33m{rev}\033[0m:\033[0;33m{node|short} \033[0;34m[{phase}]\033[0m\033[0m{branches}{bookmarks}{tags}\nauthor: {author}\ndate: {date|rfc822date} ({date|age})\n\n{desc}\n\n{file_mods}{file_adds}{file_dels}\n\n'
changeset_verbose = 'changeset: \033[0;33m{rev}\033[0m:\033[0;33m{node} \033[0;34m[{phase}]\033[0m\033[0m{branches}{bookmarks}{tags}\nauthor: {author}\ndate: {date|rfc822date} ({date|age})\n\n{desc}\n\n{file_mods}{file_adds}{file_dels}\n\n'

start_file_adds = ''
file_add = '\033[0;32mA {file_add}\033[0m\n'
Expand Down
3 changes: 2 additions & 1 deletion .hgrc
Expand Up @@ -53,6 +53,7 @@ nlog = log --style ~/.hglib/styles/map-cmdline.nlog
slog = log --style ~/.hglib/styles/map-cmdline.slog
sglog = glog --style ~/.hglib/styles/map-cmdline.sglog
vlog = nlog -v
vlg = nlog -vp

gitlog = log --style ~/.hglib/styles/git.style

Expand Down Expand Up @@ -104,7 +105,7 @@ filemerge.gui=True
pager = LESS='FRX' less
attend = help, status, qstatus, incoming, outgoing, diff, df, qdiff,
cat, annotate, shelve, shelf, last, show,
log, glog, lg, ll, gitlog, nlog, slog, sglog, vlog
log, glog, lg, ll, gitlog, nlog, slog, sglog, vlog, vlg

[mq]
# Use the secret phase for mq changesets -- see `hg help phases`
Expand Down

0 comments on commit c83eb0d

Please sign in to comment.