##// END OF EJS Templates
graphmod: don't try to visit nullrev (issue3772)
Bryan O'Sullivan -
r18467:e441657b stable
parent child Browse files
Show More
@@ -181,7 +181,7 b' def asciiedges(type, char, lines, seen, '
181 ncols = len(seen)
181 ncols = len(seen)
182 nextseen = seen[:]
182 nextseen = seen[:]
183 nextseen[nodeidx:nodeidx + 1] = newparents
183 nextseen[nodeidx:nodeidx + 1] = newparents
184 edges = [(nodeidx, nextseen.index(p)) for p in knownparents]
184 edges = [(nodeidx, nextseen.index(p)) for p in knownparents if p != nullrev]
185
185
186 while len(newparents) > 2:
186 while len(newparents) > 2:
187 # ascii() only knows how to add or remove a single column between two
187 # ascii() only knows how to add or remove a single column between two
@@ -2109,4 +2109,12 b' The almost-empty template should do some'
2109 o
2109 o
2110
2110
2111
2111
2112 issue3772
2113
2114 $ hg glog -r :null
2115 o changeset: -1:000000000000
2116 user:
2117 date: Thu Jan 01 00:00:00 1970 +0000
2118
2119
2112 $ cd ..
2120 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now