autobuild 1.5.14 → 1.5.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ == Version 1.5.15
2
+ * display a message when git switches branches
3
+
1
4
  == Version 1.5.14
2
5
  * fix Ruby 1.9 rejecting some git logs if they have a weird encoding
3
6
 
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.14" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.15" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
  require 'autobuild/config'
@@ -226,8 +226,10 @@ module Autobuild
226
226
  # Check if the target branch already exists. If it is the
227
227
  # case, check it out. Otherwise, create it.
228
228
  if File.file?(File.join(".git", "refs", "heads", branch))
229
+ package.progress "switching branch of %s to %s" % [package.name, branch]
229
230
  Subprocess.run(package, :import, Autobuild.tool('git'), 'checkout', branch)
230
231
  else
232
+ package.progress "checking out branch %s for %s" % [branch, package.name]
231
233
  Subprocess.run(package, :import, Autobuild.tool('git'), 'checkout', '-b', branch, "FETCH_HEAD")
232
234
  end
233
235
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 14
9
- version: 1.5.14
8
+ - 15
9
+ version: 1.5.15
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sylvain Joyeux
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-23 00:00:00 +02:00
17
+ date: 2010-07-08 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency