Josh VanderLinden  committed e191fbf

Improved error handling a little bit in the multi-repo extension

  • Participants
  • Parent commits 1fad6d7

Comments (0)

Files changed (1)

-from mercurial import commands
+from mercurial import commands, error
 def_prop = lambda k, i: commands.table[k][i]
     for name, location in ui.configitems('paths'):
             func(ui, repo, location, **opts)
-        except (ValueError, AttributeError), err:
+        except (ValueError, AttributeError, error.RepoError), err:
             ui.warn('Failed to perform operation on repo: %s\n\t>>> %s\n' % (location, err))
 def multi_push(ui, repo, **opts):