Mercurial > dotfiles
comparison hgrc/logstyles @ 446:edefbb8ea16a
Mercurial tweaks.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 21 May 2018 21:59:23 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
445:05ab0353cd6e | 446:edefbb8ea16a |
---|---|
1 changeset_common = '{label(ifcontains(rev, revset('parents()'), | |
2 "log.activechangeset", | |
3 "log.changeset"), | |
4 "commit {rev}:{node}")}\ | |
5 {label("log.phase_{phase}", | |
6 ifeq(phase, "public", | |
7 "", | |
8 " {ifeq(phase,"draft","D","S")}"))}\ | |
9 {label("log.branch", ifeq(branch, "default", "", " {branch}"))}\ | |
10 {label("log.tag", if(tags, " {tags}"))}\ | |
11 {bookmarks % "{ifeq(bookmark, currentbookmark, | |
12 label('log.activebookmark', " {bookmark}"), | |
13 label('log.bookmark', " {bookmark}"))}"} | |
14 {ifeq(parents,"","","{ifeq(p2rev,-1,"Parent: ","Merge: ")}{parents}\n")}\ | |
15 Author: {author} | |
16 Date: {date(date,"%c %z")}\n | |
17 {indent(desc," ")}\n' | |
18 changeset_files = '{ifeq(files, "", "", "\n {join(files,\"\n \")}\n")}' | |
19 | |
20 changeset_verbose = '{changeset_common}{changeset_files}\n' | |
21 changeset = '{changeset_common}\n' |