Mercurial > public > src > rhodecode
diff pylons_app/controllers/files.py @ 267:c3661cf28bec
fixed bug for last commit message in file source
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 07 Jun 2010 00:41:07 +0200 |
parents | 3782a6d698af |
children | a83e86e3f580 |
line wrap: on
line diff
--- a/pylons_app/controllers/files.py Mon Jun 07 00:26:52 2010 +0200 +++ b/pylons_app/controllers/files.py Mon Jun 07 00:41:07 2010 +0200 @@ -71,10 +71,7 @@ revision=next_rev, f_path=f_path) c.changeset = repo.get_changeset(revision) - try: - c.file_msg = c.changeset.get_file_message(f_path) - except: - c.file_msg = None + c.cur_rev = c.changeset.raw_id c.rev_nr = c.changeset.revision