log log -G should show the branch
Uwe Brauer
oub at mat.ucm.es
Sun Oct 20 14:15:16 UTC 2019
Hi
hg log -G
Shows the graph, (and the bookmarks)
For example
@ changeset: 231:861bf36742b0
| bookmark: hg_named_branch/default
| tag: tip
| user: Uwe Brauer <oub at mat.ucm.es>
| date: Sun Oct 20 16:56:54 2019 +0300
| summary: breqn package removed because of problems with mathbullet
But not the branch. So I tried to cook something up like
log -G --template "\x1B[33mcommit {rev}:{node|short}\nBranch: {branch}\nBookmark: {bookmarks}\nAuthor: {author}\nDate: {date|rfc822date}\nPhase: {phase}\nSummary: {desc}\n{nofiles}\n"
@ commit 231:861bf36742b0
| Branch: default
| Bookmark: hg_named_branch/default
| Author: Uwe Brauer <oub at mat.ucm.es>
| Date: Sun, 20 Oct 2019 16:56:54 +0300
| Phase: draft
| Summary: breqn package removed because of problems with mathbullet
|
@ commit 231:861bf36742b0
| Branch: default
| Bookmark: hg_named_branch/default
| Author: Uwe Brauer <oub at mat.ucm.es>
| Date: Sun, 20 Oct 2019 16:56:54 +0300
| Phase: draft
| Summary: breqn package removed because of problems with mathbullet
|
| mypub.sty: 225 remove the breqn package becauses it causes
| problems with mathbullets.
|
o commit 230:2879958dfe5e
|\ Branch: default
| | Bookmark:
| | Author: Uwe Brauer <oub at mat.ucm.es>
| | Date: Sun, 20 Oct 2019 16:34:41 +0300
| | Phase: draft
| | Summary: Merge change in.
That shows the branch, but also *always* the bookmark field, although
the bookmark field should only be shown if it is not empty.
BTW I also don't like
Summary: {desc}
Because it shows more than the log -G
default.
So you can I basically getting log -G + branch name?
Uwe Brauer
More information about the Mercurial
mailing list