dev_commands 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/add.rb +4 -1
- metadata +1 -1
data/lib/add.rb
CHANGED
@@ -6,7 +6,10 @@ class Add < Array
|
|
6
6
|
if(defined?(SOURCE))
|
7
7
|
if(File.exists?('.svn'))
|
8
8
|
SOURCE.each{|f|
|
9
|
-
|
9
|
+
|
10
|
+
add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('?')
|
11
|
+
add "svn add #{f} --parents" if Command.exit_code("svn status #{f}") != 0
|
12
|
+
#add "svn add #{f} --parents" if status.include?('?') || status.include?(n)
|
10
13
|
}
|
11
14
|
end
|
12
15
|
if(File.exists?('.git'))
|