Mercurial > kallithea
diff rhodecode/controllers/files.py @ 2536:aaa41736ae51 beta
Fixed lookup by Tag sha in git backend
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 02 Jul 2012 23:28:21 +0200 |
parents | 015a42e970a6 |
children | 94ae02ca5f00 |
line wrap: on
line diff
--- a/rhodecode/controllers/files.py Mon Jul 02 21:13:44 2012 +0200 +++ b/rhodecode/controllers/files.py Mon Jul 02 23:28:21 2012 +0200 @@ -32,7 +32,6 @@ from pylons.i18n.translation import _ from pylons.controllers.util import redirect from pylons.decorators import jsonify -from paste.fileapp import FileApp, _FileIter from rhodecode.lib import diffs from rhodecode.lib import helpers as h @@ -61,7 +60,6 @@ class FilesController(BaseRepoController): - def __before__(self): super(FilesController, self).__before__() c.cut_off_limit = self.cut_off_limit @@ -166,7 +164,7 @@ except RepositoryError, e: h.flash(str(e), category='warning') redirect(h.url('files_home', repo_name=repo_name, - revision=revision)) + revision='tip')) return render('files/files.html')