##// END OF EJS Templates
git: dropped some unused code to calculate path history
marcink -
r592:9be2c09e default
parent child Browse files
Show More
@@ -518,15 +518,6 b' class GitRemote(object):'
518 return repo.get_description()
518 return repo.get_description()
519
519
520 @reraise_safe_exceptions
520 @reraise_safe_exceptions
521 def get_file_history(self, wire, file_path, commit_id, limit):
522 repo = self._factory.repo(wire)
523 include = [commit_id]
524 paths = [file_path]
525
526 walker = repo.get_walker(include, paths=paths, max_entries=limit)
527 return [x.commit.id for x in walker]
528
529 @reraise_safe_exceptions
530 def get_missing_revs(self, wire, rev1, rev2, path2):
521 def get_missing_revs(self, wire, rev1, rev2, path2):
531 repo = self._factory.repo(wire)
522 repo = self._factory.repo(wire)
532 LocalGitClient(thin_packs=False).fetch(path2, repo)
523 LocalGitClient(thin_packs=False).fetch(path2, repo)
General Comments 0
You need to be logged in to leave comments. Login now