diff -r b8d587cfa3bb -r 2ff57e3113a4 mercurial/commands.py --- a/mercurial/commands.py Thu Aug 10 15:02:18 2006 -0700 +++ b/mercurial/commands.py Thu Aug 10 15:44:05 2006 -0700 @@ -3545,6 +3545,7 @@ mod = sys.modules[name] if hasattr(mod, 'reposetup'): mod.reposetup(u, repo) + hg.repo_setup_hooks.append(mod.reposetup) except hg.RepoError: if cmd not in optionalrepo.split(): raise