changeset 8:0da780dd81d0

use bare exception for some reason i can no longer remember
author k0s <k0scist@gmail.com>
date Thu, 28 Jan 2010 13:46:58 -0500
parents d3d0b9414e19
children 5a909090fb24
files silvermirror/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/silvermirror/hg.py	Sun Dec 20 18:56:12 2009 -0500
+++ b/silvermirror/hg.py	Thu Jan 28 13:46:58 2010 -0500
@@ -19,7 +19,7 @@
     try: 
         repo = hg.repository(_ui, path)
         print 'Updating %s:' % path
-    except mercurial.repo.RepoError:
+    except Exception, e:
         repo = hg.repository(_ui, url)
         print 'Cloning %s:' % path
         commands.clone(_ui, repo, pull=False, uncompressed=False, rev=None, noupdate=False)