Mercurial > kallithea
changeset 2251:986430cde505 beta
fixed issue with getting README files from git repositories
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 09 May 2012 20:53:22 +0200 |
parents | 3f401db55cb7 |
children | 37945c6a7dbd |
files | docs/changelog.rst rhodecode/controllers/summary.py rhodecode/model/db.py |
diffstat | 3 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/changelog.rst Wed May 09 14:22:27 2012 +0200 +++ b/docs/changelog.rst Wed May 09 20:53:22 2012 +0200 @@ -39,6 +39,7 @@ - fixed #434: Error when accessing files or changesets of a git repository with submodules - fixed issue with empty APIKEYS for users after registration ref. #438 +- fixed issue with getting README files from git repositories 1.3.4 (**2012-03-28**) ----------------------
--- a/rhodecode/controllers/summary.py Wed May 09 14:22:27 2012 +0200 +++ b/rhodecode/controllers/summary.py Wed May 09 20:53:22 2012 +0200 @@ -190,7 +190,7 @@ readme_file = None log.debug('Fetching readme file') try: - cs = repo.get_changeset('tip') + cs = repo.get_changeset() # fetches TIP renderer = MarkupRenderer() for f in README_FILES: try:
--- a/rhodecode/model/db.py Wed May 09 14:22:27 2012 +0200 +++ b/rhodecode/model/db.py Wed May 09 20:53:22 2012 +0200 @@ -645,7 +645,7 @@ # SCM PROPERTIES #========================================================================== - def get_changeset(self, rev): + def get_changeset(self, rev=None): return get_changeset_safe(self.scm_instance, rev) @property