Commit 75aec899 authored by tmaruyama's avatar tmaruyama

scm: rename JavaScript "branchGraph" function name to "revisionGraph"

"Branch" is not a common concept in the SCMs.

Mercurial "branch" has three terms.
* named branch
* unnamed branch (multiple heads)
* big-picture branch (cloning repository)

Git "branch" is a reference to a specific revision.

It is popular that Mercurial GUI shows all revisions on the top page.

git-svn-id: https://svn.redmine.org/redmine/trunk@8779 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 57990277
......@@ -3,7 +3,7 @@
<script type="text/javascript" charset="utf-8">
Event.observe(window, 'load', function(){
branchGraph(
revisionGraph(
document.getElementById("holder"),
<%= commits.to_json.html_safe %>);
});
......
function branchGraph(holder, commits_hash) {
function revisionGraph(holder, commits_hash) {
var LEFT_PADDING = 3,
TOP_PADDING = 10,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment