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: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8779 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a00f04886f
commit
232fca78a2
|
@ -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 %>);
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
function branchGraph(holder, commits_hash) {
|
||||
function revisionGraph(holder, commits_hash) {
|
||||
|
||||
var LEFT_PADDING = 3,
|
||||
TOP_PADDING = 10,
|
||||
|
|
Loading…
Reference in New Issue