dev 2.0.107 → 2.0.108
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commands/add.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c197e0ac60e6e7018f452d3cb27896dda973cfc
|
4
|
+
data.tar.gz: cfe03c885e611f78c5cbc73d0bd0296665106e0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7720d0dd108840f357f933d754a42bc389ba14f1be16c5d473dbca417152d905a2e01f8210db70e49f437361054a4ffb528068c4ac3b176b669384810e83c9b4
|
7
|
+
data.tar.gz: 4fd4d423fefea1acdf5c55217b3f9ef4626d651ed555498c9810d6ca5818040b118c103f386d5b23d6680ed7d9d2f5221391508c09bb0de30c2ca81316604bf5
|
data/lib/commands/add.rb
CHANGED
@@ -7,13 +7,14 @@ class Add < Array
|
|
7
7
|
if(File.exists?('.svn'))
|
8
8
|
SOURCE.each{|f|
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
status=Command.output("svn status #{f}")
|
11
|
+
if( status.include?('?') ||
|
12
|
+
status.include?('was not found') ||
|
12
13
|
Command.exit_code("svn status #{f}") != 0 )
|
13
14
|
puts "svn add #{f} --parents"
|
14
15
|
add "svn add #{f} --parents"
|
15
16
|
else
|
16
|
-
puts "#{
|
17
|
+
puts "#{status}"
|
17
18
|
end
|
18
19
|
#add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('?')
|
19
20
|
#add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('was not found')
|