Mercurial > hgsubversion
diff __init__.py @ 124:291925677a9f
tag_repo: remove gentags command, extend repo.tags(), HgChangeEditor now takes either repo or repo_path
author | Luke Opperman <luke@loppear.com> |
---|---|
date | Thu, 04 Dec 2008 13:10:40 -0600 |
parents | ed42f6e5705a |
children | 9ffde8662967 |
line wrap: on
line diff
--- a/__init__.py +++ b/__init__.py @@ -5,6 +5,14 @@ from mercurial import hg import svncommand import fetch_command +import tag_repo +import util + +def reposetup(ui, repo): + if not util.is_svn_repo(repo): + return + + repo.__class__ = tag_repo.generate_repo_class(ui, repo) def svn(ui, repo, subcommand, *args, **opts):