aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/lib/base.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2013-01-05 01:58:29 +0100
committerMarcin Kuzminski <marcin@python-works.com>2013-01-05 01:58:29 +0100
commit31a5ad58926674923b751e5fd5438a4ee9cc3c94 (patch)
tree225bec66ccc61e16d1bca936d66c7bce2c68733b /rhodecode/lib/base.py
parent760e3b5c293bf079be4876b7219e63fb9e56485e (diff)
Added full last changeset info to lightweight dashboarddev
--HG-- branch : beta
Diffstat (limited to 'rhodecode/lib/base.py')
-rw-r--r--rhodecode/lib/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/lib/base.py b/rhodecode/lib/base.py
index 763caa9b..f993eb4d 100644
--- a/rhodecode/lib/base.py
+++ b/rhodecode/lib/base.py
@@ -319,7 +319,7 @@ class BaseRepoController(BaseController):
dbr = c.rhodecode_db_repo = Repository.get_by_repo_name(c.repo_name)
c.rhodecode_repo = c.rhodecode_db_repo.scm_instance
# update last change according to VCS data
- dbr.update_last_change(c.rhodecode_repo.last_change)
+ dbr.update_changeset_cache(dbr.get_changeset())
if c.rhodecode_repo is None:
log.error('%s this repository is present in database but it '
'cannot be created as an scm instance', c.repo_name)