Browse files

Remove unused is_fixed_revision method on repositories

  • Loading branch information...
1 parent d9235e3 commit e2250a964c6c0b8600f435c66b347349ef08bb83 @mwilliamson committed Mar 18, 2013
Showing with 0 additions and 11 deletions.
  1. +0 −8 mayo/git.py
  2. +0 −3 mayo/hg.py
View
8 mayo/git.py
@@ -39,14 +39,6 @@ def remote_repo_uri(self):
def head_revision(self):
return _git(["rev-parse", "HEAD"], cwd=self.working_directory).output.strip()
- def is_fixed_revision(self, revision):
- if revision is None:
- return False
- else:
- return self._is_tag(revision)
-
- def _is_tag(self, revision):
- return bool(_git(["tag", "--list", revision], cwd=self.working_directory).output.strip())
def _git(git_command, *args, **kwargs):
command = ["git"] + git_command
View
3 mayo/hg.py
@@ -36,9 +36,6 @@ def remote_repo_uri(self):
def head_revision(self):
return quiet_check_output(["hg", "parents", "--template={node}"], cwd=self.working_directory).strip()
- def is_fixed_revision(self, revision):
- return False
-
def _is_local(uri):
return "://" not in uri

0 comments on commit e2250a9

Please sign in to comment.