dr 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dr/gitpackage.rb +3 -2
- data/lib/dr/version.rb +1 -1
- metadata +1 -1
data/lib/dr/gitpackage.rb
CHANGED
@@ -143,12 +143,13 @@ module Dr
|
|
143
143
|
|
144
144
|
version = nil
|
145
145
|
|
146
|
-
|
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|
|
data/lib/dr/version.rb
CHANGED