Project

General

Profile

Actions

Patch #6159

open

Subversion: latest changesets performance improvement.

Added by Go MAEDA over 14 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2010-08-17
Due date:
% Done:

0%

Estimated time:

Description

Redmine executes "svn log" command 2 times (Repository::Subversion#fetch_changesets and Repository::Subversion#latest_changesets) when performing repository/show action. As a result, it takes very long time to complete when the repository is on remote server.

This patch improves performance of the Subversion#latest_changesets method by querying changesets table on the database instead of executing "svn log" command.


Files

svn_latest_changesets_improvement.diff (1.13 KB) svn_latest_changesets_improvement.diff Go MAEDA, 2010-08-17 16:28
latest-changesets-improvements.diff (2.79 KB) latest-changesets-improvements.diff Yuya Nishihara, 2010-08-19 16:21
latest-changesets-improvements-2.diff (2.82 KB) latest-changesets-improvements-2.diff Yuya Nishihara, 2010-08-19 17:10
latest-changesets-improvements-3.diff (2.12 KB) latest-changesets-improvements-3.diff Enrique Garcia, 2010-11-16 16:33
latest-changesets-improvements-4.diff (2.94 KB) latest-changesets-improvements-4.diff Toshi MARUYAMA, 2010-11-30 07:18
svn-before-patch.png (124 KB) svn-before-patch.png Toshi MARUYAMA, 2010-11-30 07:18
svn-after-patch.png (105 KB) svn-after-patch.png Toshi MARUYAMA, 2010-11-30 07:18
bazaar-before-patch.png (51.3 KB) bazaar-before-patch.png Toshi MARUYAMA, 2010-11-30 07:18
bazaar-after-patch.png (61.1 KB) bazaar-after-patch.png Toshi MARUYAMA, 2010-11-30 07:18

Related issues

Related to Redmine - Defect #7984: Confusing revisions links on repository rootNewToshi MARUYAMA2011-03-24

Actions
Related to Redmine - Feature #7246: Handle "named branch" for mercurialClosedToshi MARUYAMA2011-01-07

Actions
Related to Redmine - Feature #1311: Subversion: Show revision histories for branchesNew2008-05-27

Actions
Related to Redmine - Defect #3943: Subversion: Directory revision list contains faulty revisionsNew2009-09-29

Actions
Related to Redmine - Patch #7528: Fetch small initial set of repository changesetsNew2011-02-03

Actions
Related to Redmine - Feature #7719: SVN Start RevisionNew2011-02-25

Actions
Actions

Also available in: Atom PDF