Mercurial > dotfiles
annotate hgrc/wip.style @ 301:92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 22 May 2015 15:20:20 -0700 |
parents | |
children |
rev | line source |
---|---|
301
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 wbrch = '{label("log.branch", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 ifeq(branch, "default", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 "", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 branch))}' |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 wcset = '{label("changeset.{phase}", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 rev)}' |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 wuser = '{label("grep.user", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 author|user)}' |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 wtags = '{label("log.tag", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 if(tags," {tags}"))}' |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 wbook = '{label("log.bookmark", |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 if(bookmarks," {bookmarks}"))}' |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 wdesc = '{label(ifcontains(rev, revset('parents()'), 'desc.here'), |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 desc|firstline)}' |
92f460133b0c
Use Steve Losh's templates from some correct place. Add Jordi's aliases.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 changeset = '{wbrch} {wcset} {wuser} {wtags} {wbook}\n{wdesc}' |