svn_command_helper 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 655cd1cac60124bbd87ab0f15f36f577e7ccacf1
4
- data.tar.gz: 28103a1f64ca7457dbdef22966bf7e98526fb29a
3
+ metadata.gz: 267670929581fa0ceda509ca3eb4f97b4d1036db
4
+ data.tar.gz: ff04500dd0a6f2a353461674bf735fb1b236f002
5
5
  SHA512:
6
- metadata.gz: 3b1f6c4d5e6fbf0eddbc286358f6c64e0ee3b8248ebc95493f85c99d22146d451bdf18edd1466b4a150a0d0bb63bd6cd407591df66b5148eded20f904ba9b7a2
7
- data.tar.gz: 8fecd1a1ec2529943fe7348576f33348701a043f2ec5f3595d9712293296bad350b9267c10a43ffe08878ed1763343cb4083ef5338342311408ec26d6685b45a
6
+ metadata.gz: 019d23b95308375edf0cdd4ead35e2167433c35dcbbbe7b4d37714050df6367bb897e540fc457159524e999255084ce2d9dbf7bfb909fcc8698b573d6f506c1e
7
+ data.tar.gz: 405d1854883dd8681112a574bf9ee79967e34076a813c6a14d3b987561ca5de318a1fea7a200dffa6ed8316b5e72a44f3c0583396a75ba0524cbbf73b796ac77
@@ -189,7 +189,8 @@ module SvnCommandHelper
189
189
  end
190
190
  sys "svn update --set-depth infinity #{to_exist_transactions.map(&:file).join(' ')}"
191
191
  to_exist_transactions.each do |_transaction|
192
- sys "svn merge --accept theirs-full --ignore-ancestry #{_transaction.from} #{_transaction.file}"
192
+ sys "svn export --force #{_transaction.from} #{_transaction.file}"
193
+ sys "svn add --force #{_transaction.file}"
193
194
  end
194
195
  Svn.commit(message, ".")
195
196
  end
@@ -213,7 +214,8 @@ module SvnCommandHelper
213
214
  Svn.update_deep(relative_to, "empty") # mkpath的な なくてもエラーにはならないので
214
215
 
215
216
  if transaction.to_exist? # toがある場合マージ
216
- sys "svn merge --accept theirs-full --ignore-ancestry #{transaction.from} #{relative_to}"
217
+ sys "svn export --force #{transaction.from} #{relative_to}"
218
+ sys "svn add --force #{relative_to}"
217
219
  else # toがない場合コピー
218
220
  sys "svn copy --parents #{transaction.from} #{relative_to}"
219
221
  end
@@ -1,4 +1,4 @@
1
1
  module SvnCommandHelper
2
2
  # version
3
- VERSION = "0.3.9"
3
+ VERSION = "0.3.10"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svn_command_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka