changeset 4381:f4af7960d578

Fix bad reference to RepoError in import command
author Joel Rosdahl <joel@rosdahl.net>
date Sat, 28 Apr 2007 16:28:54 +0200
parents de612b5f8d59
children 8c2a18cc3096
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Apr 24 18:43:18 2007 -0700
+++ b/mercurial/commands.py	Sat Apr 28 16:28:54 2007 +0200
@@ -1550,7 +1550,7 @@
                     p2 = repo.lookup(p2)
                     if p1 == wp[0].node():
                         repo.dirstate.setparents(p1, p2)
-                except RepoError:
+                except hg.RepoError:
                     pass
 
             files = {}