# HG changeset patch # User Joel Rosdahl # Date 1177770534 -7200 # Node ID f4af7960d5784183b4627491197eac96d805b164 # Parent de612b5f8d598a91fe3115a8971a4a8c16ab4d0c Fix bad reference to RepoError in import command diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1550,7 +1550,7 @@ def import_(ui, repo, patch1, *patches, p2 = repo.lookup(p2) if p1 == wp[0].node(): repo.dirstate.setparents(p1, p2) - except RepoError: + except hg.RepoError: pass files = {}