Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

hglib: early out for gettabwidth() if already loaded.

Changeset d8f7789f87cc

Parent 4d0324775993

by Steve Borho

Changes to one file · Browse files at d8f7789f87cc Showing diff from parent 4d0324775993 Diff from another changeset...

Change 1 of 1 Show Entire File thgutil/​hglib.py Stacked
 
81
82
83
 
 
84
85
86
 
81
82
83
84
85
86
87
88
@@ -81,6 +81,8 @@
 _tabwidth = None  def gettabwidth(ui):   global _tabwidth + if _tabwidth is not None: + return _tabwidth   tabwidth = ui.config('tortoisehg', 'tabwidth')   try:   tabwidth = int(tabwidth)