comparison hgext/graphlog.py @ 4583:11cf78983961

Reverted changesets 9d1380e5c8c5 and 1d46169ec197: show @ as glog parent again. Repainted the bikeshed with its original color.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 14 Jun 2007 12:54:06 +0200
parents 96d8a56d4ef9
children ff7253a0d1da
comparison
equal deleted inserted replaced
4582:7de7a80e7422 4583:11cf78983961
145 """show revision history alongside an ASCII revision graph 145 """show revision history alongside an ASCII revision graph
146 146
147 Print a revision history alongside a revision graph drawn with 147 Print a revision history alongside a revision graph drawn with
148 ASCII characters. 148 ASCII characters.
149 149
150 Nodes printed as a . character are parents of the working 150 Nodes printed as an @ character are parents of the working
151 directory. 151 directory.
152 """ 152 """
153 153
154 limit = get_limit(opts["limit"]) 154 limit = get_limit(opts["limit"])
155 (start_rev, stop_rev) = get_revs(repo, opts["rev"]) 155 (start_rev, stop_rev) = get_revs(repo, opts["rev"])
197 # | o | | into | o / / # <--- fixed nodeline tail 197 # | o | | into | o / / # <--- fixed nodeline tail
198 # | |/ / | |/ / 198 # | |/ / | |/ /
199 # o | | o | | 199 # o | | o | |
200 fix_nodeline_tail = len(log_strings) <= 2 and not add_padding_line 200 fix_nodeline_tail = len(log_strings) <= 2 and not add_padding_line
201 201
202 # nodeline is the line containing the node character (. or o). 202 # nodeline is the line containing the node character (@ or o).
203 nodeline = ["|", " "] * node_index 203 nodeline = ["|", " "] * node_index
204 if node in repo_parents: 204 if node in repo_parents:
205 node_ch = "." 205 node_ch = "@"
206 else: 206 else:
207 node_ch = "o" 207 node_ch = "o"
208 nodeline.extend([node_ch, " "]) 208 nodeline.extend([node_ch, " "])
209 209
210 nodeline.extend( 210 nodeline.extend(