summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 4554da35c8..dd6162c8c2 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -326,6 +326,7 @@ class VCS
def trunk
url + "trunk"
end
+ alias master trunk
def branch_list(pat)
IO.popen(%W"#{COMMAND} ls #{branch('')}") do |f|
@@ -507,9 +508,10 @@ class VCS
alias tag branch
- def trunk
- branch("trunk")
+ def master
+ branch("master")
end
+ alias trunk master
def stable
cmd = %W"#{COMMAND} for-each-ref --format=\%(refname:short) refs/heads/ruby_[0-9]*"