dr 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/dr/gitpackage.rb +3 -2
  2. data/lib/dr/version.rb +1 -1
  3. metadata +1 -1
@@ -143,12 +143,13 @@ module Dr
143
143
 
144
144
  version = nil
145
145
 
146
- unless get_rev branch
146
+ orig_rev, curr_rev = update_from_origin branch
147
+
148
+ unless curr_rev
147
149
  log :err, "Branch #{branch.fg "blue"} not found in #{@name.style "pkg-name"}"
148
150
  raise "The requested branch doesn't exist in the repository!"
149
151
  end
150
152
 
151
- orig_rev, curr_rev = update_from_origin branch
152
153
  log :info, "Branch #{branch.fg "blue"}, revision #{curr_rev[0..7].fg "blue"}"
153
154
  unless force
154
155
  history.each do |v|
@@ -2,5 +2,5 @@
2
2
  # License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
3
3
 
4
4
  module Dr
5
- VERSION = "1.0.4"
5
+ VERSION = "1.0.5"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: