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

update: catch Mercurial exceptions

Changeset 82a70a00ad8f

Parent 1e721a9b4dbd

by Yuki KODAMA

Changes to one file · Browse files at 82a70a00ad8f Showing diff from parent 1e721a9b4dbd Diff from another changeset...

 
173
174
175
176
 
 
 
 
177
178
179
 
173
174
175
 
176
177
178
179
180
181
182
@@ -173,7 +173,10 @@
  cmdline.append('--clean')   else:   cur = self.repo['.'] - node = self.repo[rev] + try: + node = self.repo[rev] + except (error.LookupError, error.RepoLookupError, error.RepoError): + return   def isclean():   '''whether WD is changed'''   wc = self.repo[None]