Mercurial > hg
comparison tests/test-rebase-named-branches.t @ 24216:4bb348ae43cb
log: display closing-branch nodes as "_" (BC)
In plain `hg log` there is no indication that a commit closes a
branch. You can use hg log --debug, but this is too verbose. A simple
idea copied from thg and other graphical viewers is to display the
node for a closing-branch commit as a horizontal line.
I think this technically is a BC if we consider the graphlog to be
part of the stdout API, but I really can't imagine who the hell is
parsing the graphlog to determine information about commits.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 24 Nov 2014 16:42:49 -0500 |
parents | aa4a1672583e |
children | 701df761aa94 |
comparison
equal
deleted
inserted
replaced
24215:feddc5284724 | 24216:4bb348ae43cb |
---|---|
350 | 350 |
351 $ hg branch -qf c | 351 $ hg branch -qf c |
352 $ hg ci -qm 'c2 closed' --close | 352 $ hg ci -qm 'c2 closed' --close |
353 $ hg up -qr 2 | 353 $ hg up -qr 2 |
354 $ hg tglog | 354 $ hg tglog |
355 o 4: 'c2 closed' c | 355 _ 4: 'c2 closed' c |
356 | | 356 | |
357 o 3: 'b1' b | 357 o 3: 'b1' b |
358 | | 358 | |
359 | @ 2: 'c1' c | 359 | @ 2: 'c1' c |
360 | | | 360 | | |
364 | 364 |
365 $ hg rebase | 365 $ hg rebase |
366 nothing to rebase - working directory parent is also destination | 366 nothing to rebase - working directory parent is also destination |
367 [1] | 367 [1] |
368 $ hg tglog | 368 $ hg tglog |
369 o 4: 'c2 closed' c | 369 _ 4: 'c2 closed' c |
370 | | 370 | |
371 o 3: 'b1' b | 371 o 3: 'b1' b |
372 | | 372 | |
373 | @ 2: 'c1' c | 373 | @ 2: 'c1' c |
374 | | | 374 | | |