svn_command_helper 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/svn_command_helper/version.rb +1 -1
- data/lib/svn_command_helper.rb +1 -1
- 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: 4136d2e62bccd090142f60b3066fe827358ed331
|
4
|
+
data.tar.gz: 5cff7f8d944a0df5f62ce831077f1aedb21ffbea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644a746013d48ae0be9be58fea0dd55e73195c95104c98a9ce111e57eab24fbfa8e22a455d9c6b4ae08c8e9c8d9d1103655ee1938ca2f83d1403515020c60f80
|
7
|
+
data.tar.gz: 71025eca99d0eac8f41dc23e21f07d1c07c9557c707672e0b8a70f90d83d2b158f65ca1f05570b2a5cd3c9face0472965cd5756c463ca2b2177e93c4c40fae3f
|
data/lib/svn_command_helper.rb
CHANGED
@@ -170,7 +170,7 @@ module SvnCommandHelper
|
|
170
170
|
def copy_single(transaction, message)
|
171
171
|
transactions = transaction.glob_transactions
|
172
172
|
raise "copy_single: #{transaction.from} not exists" if transactions.empty?
|
173
|
-
to_exist_transactions = Svn.list_files(transaction.to_base).
|
173
|
+
to_exist_transactions = Svn.list_files(transaction.to_base).map do |_file|
|
174
174
|
transactions.find {|_transaction| _transaction.file == _file}
|
175
175
|
end.compact
|
176
176
|
only_from_transactions = transactions - to_exist_transactions
|