mercurial/graphmod.py
changeset 41550 fb9e11fdcbba
parent 39313 3c4b2e880273
child 42334 264a2cbb25d0
equal deleted inserted replaced
41549:7a90ff8cd14c 41550:fb9e11fdcbba
   449         lines.append(_getpaddingline(echars, idx, ncols, edges))
   449         lines.append(_getpaddingline(echars, idx, ncols, edges))
   450 
   450 
   451     # If 'graphshorten' config, only draw shift_interline
   451     # If 'graphshorten' config, only draw shift_interline
   452     # when there is any non vertical flow in graph.
   452     # when there is any non vertical flow in graph.
   453     if state['graphshorten']:
   453     if state['graphshorten']:
   454         if any(c in '\/' for c in shift_interline if c):
   454         if any(c in br'\/' for c in shift_interline if c):
   455             lines.append(shift_interline)
   455             lines.append(shift_interline)
   456     # Else, no 'graphshorten' config so draw shift_interline.
   456     # Else, no 'graphshorten' config so draw shift_interline.
   457     else:
   457     else:
   458         lines.append(shift_interline)
   458         lines.append(shift_interline)
   459 
   459