Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/graphmod.py @ 7565:5f162f61e479
hgweb: fix problems with empty repositories
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sun, 04 Jan 2009 19:10:42 +0100 |
parents | 810ca383da9c |
children | 4a4c7f6a5912 |
comparison
equal
deleted
inserted
replaced
7564:f1af59451c0c | 7565:5f162f61e479 |
---|---|
23 the current node and its parents. | 23 the current node and its parents. |
24 - First line of the changeset description | 24 - First line of the changeset description |
25 - The changeset author | 25 - The changeset author |
26 - The changeset date/time | 26 - The changeset date/time |
27 """ | 27 """ |
28 | |
29 if start_rev == nullrev and not stop_rev: | |
30 return | |
28 | 31 |
29 assert start_rev >= stop_rev | 32 assert start_rev >= stop_rev |
30 assert stop_rev >= 0 | 33 assert stop_rev >= 0 |
31 curr_rev = start_rev | 34 curr_rev = start_rev |
32 revs = [] | 35 revs = [] |