dev_commands 0.0.21 → 0.0.22
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.
- 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'))
|