Show More
@@ -324,12 +324,13 b' class changeset_printer(object):' | |||
|
324 | 324 | |
|
325 | 325 | parents = log.parentrevs(rev) |
|
326 | 326 | if not self.ui.debugflag: |
|
327 |
|
|
|
328 |
if |
|
|
327 | if parents[1] == nullrev: | |
|
328 | if parents[0] >= rev - 1: | |
|
329 | 329 | parents = [] |
|
330 | else: | |
|
331 | parents = [parents[0]] | |
|
330 | 332 | parents = [(p, hexfunc(log.node(p))) for p in parents] |
|
331 | 333 | |
|
332 | ||
|
333 | 334 | self.ui.write(_("changeset: %d:%s\n") % (rev, hexfunc(changenode))) |
|
334 | 335 | |
|
335 | 336 | if branch: |
@@ -27,6 +27,7 b' summary: b' | |||
|
27 | 27 | %% abbrev of long option |
|
28 | 28 | changeset: 1:b6c483daf290 |
|
29 | 29 | tag: tip |
|
30 | parent: -1:000000000000 | |
|
30 | 31 | user: test |
|
31 | 32 | date: Thu Jan 01 00:00:01 1970 +0000 |
|
32 | 33 | summary: b |
@@ -49,6 +50,7 b' 1:b6c483daf290' | |||
|
49 | 50 | %% -v/--verbose |
|
50 | 51 | changeset: 1:b6c483daf290 |
|
51 | 52 | tag: tip |
|
53 | parent: -1:000000000000 | |
|
52 | 54 | user: test |
|
53 | 55 | date: Thu Jan 01 00:00:01 1970 +0000 |
|
54 | 56 | files: b |
General Comments 0
You need to be logged in to leave comments.
Login now