Mercurial > hgsubversion
comparison __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 |
comparison
equal
deleted
inserted
replaced
| 123:58de7aea8a77 | 124:291925677a9f |
|---|---|
| 3 from mercurial import commands | 3 from mercurial import commands |
| 4 from mercurial import hg | 4 from mercurial import hg |
| 5 | 5 |
| 6 import svncommand | 6 import svncommand |
| 7 import fetch_command | 7 import fetch_command |
| 8 import tag_repo | |
| 9 import util | |
| 10 | |
| 11 def reposetup(ui, repo): | |
| 12 if not util.is_svn_repo(repo): | |
| 13 return | |
| 14 | |
| 15 repo.__class__ = tag_repo.generate_repo_class(ui, repo) | |
| 8 | 16 |
| 9 | 17 |
| 10 def svn(ui, repo, subcommand, *args, **opts): | 18 def svn(ui, repo, subcommand, *args, **opts): |
| 11 return svncommand.svncmd(ui, repo, subcommand, *args, **opts) | 19 return svncommand.svncmd(ui, repo, subcommand, *args, **opts) |
| 12 | 20 |
