Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

hglib: delete compatibility code for Mercurail < 1.3

Changeset 1b9a75dce1e3

Parent 52f190ed3212

by Simon Heimberg

Changes to one file · Browse files at 1b9a75dce1e3 Showing diff from parent 52f190ed3212 Diff from another changeset...

Change 1 of 2 Show Entire File thgutil/​hglib.py Stacked
 
94
95
96
97
98
99
100
 
101
102
103
 
105
106
107
108
109
110
 
 
111
112
113
 
94
95
96
 
 
 
 
97
98
99
100
 
102
103
104
 
 
 
105
106
107
108
109
@@ -94,10 +94,7 @@
  write args if there are buffers   returns True if the caller shall handle writing   ''' - buffers = getattr(u, '_buffers', None) - if buffers == None: - buffers = u.buffers - if buffers: + if u._buffers:   ui.ui.write(u, *args)   return False   return True @@ -105,9 +102,8 @@
 def invalidaterepo(repo):   repo.invalidate()   repo.dirstate.invalidate() - if 'mq' in repo.__dict__: #do not create if it did not exist - mq = repo.mq - mq.invalidate() + if 'mq' in repo.__dict__: #do not create if it does not exist + repo.mq.invalidate()    def hgcmd_toq(path, q, *args):   '''