From 57515f72821f925aa716e8358faf9e37df0d6a81 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 28 Apr 2007 16:28:54 +0200 Subject: [PATCH] Fix bad reference to RepoError in import command --- mercurial/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mercurial/commands.py b/mercurial/commands.py index 8c908e40ea..72a11898fc 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1550,7 +1550,7 @@ def import_(ui, repo, patch1, *patches, **opts): p2 = repo.lookup(p2) if p1 == wp[0].node(): repo.dirstate.setparents(p1, p2) - except RepoError: + except hg.RepoError: pass files = {}