From d819d97cf02fd0a5b5b1f6ee69c9fdb83276e6c2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 22 May 2019 23:18:09 +0900 Subject: Default to the current branch * tool/make-snapshot: default to the current branch if no branch but srcdir is given. --- tool/vcs.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tool/vcs.rb') diff --git a/tool/vcs.rb b/tool/vcs.rb index 3f0a33147d..f251c96ecb 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -278,6 +278,7 @@ class VCS end def branch(name) + return trunk if name == "trunk" url + "branches/#{name}" end -- cgit v1.2.3