Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

status: add fallback for non-tip Mercurial versions

This should be removed before thg 1.2 release

Changeset 9c9dca8d61bb

Parent b614968eba96

by Steve Borho

Changes to one file · Browse files at 9c9dca8d61bb Showing diff from parent b614968eba96 Diff from another changeset...

 
90
91
92
 
 
 
 
93
94
95
 
90
91
92
93
94
95
96
97
98
99
@@ -90,6 +90,10 @@
  wctx.status(unknown=self.opts.get('unknown', True),   clean=self.opts.get('clean', False),   ignored=self.opts.get('ignored', False)) + except AttributeError: + # your mercurial source is not new enough, falling back + # to triggering implicit status() call. + wctx.modified()   except (OSError, IOError, util.Abort), e:   self.status_error = str(e)   self.wctx = wctx