Mercurial > hgsubversion
changeset 443:f55d2954b158
svnrepo: remove unused localsvn decorator
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 16 Jun 2009 13:33:30 +0200 |
parents | f6de36e65bcf |
children | 8c545dcad7b1 |
files | hgsubversion/svnrepo.py hgsubversion/util.py |
diffstat | 2 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svnrepo.py +++ b/hgsubversion/svnrepo.py @@ -27,16 +27,6 @@ def generate_repo_class(ui, repo): superclass = repo.__class__ - def localsvn(fn): - """ - Filter for instance methods which only apply to local Subversion - repositories. - """ - if util.is_svn_repo(repo): - return fn - else: - return getattr(repo, fn.__name__) - def remotesvn(fn): """ Filter for instance methods which require the first argument
--- a/hgsubversion/util.py +++ b/hgsubversion/util.py @@ -114,9 +114,6 @@ def outgoing_revisions(repo, reverse_map if sourcerev.node() != node.nullid: return outgoing_rev_hashes -def is_svn_repo(repo): - return os.path.exists(os.path.join(repo.path, 'svn', 'uuid')) - default_commit_msg = '*** empty log message ***' def describe_commit(ui, h, b):