svn_command_helper 0.3.6 → 0.3.7
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.rb +5 -1
- data/lib/svn_command_helper/version.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: f4e80b45f5b5347856df9da7e81016092b5a25a2
|
4
|
+
data.tar.gz: bbc1562926a5722fccef9b6b3f82a0812e3a168a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ec4bc0096b1f65f2c8c5f1394320d5537fc8cf51dd4e8ef62ae261eb5760ffc3a9a544810b2f263dde458f4b83c129b5c6ad105bb20eb2addcb7bc5c981f9f6
|
7
|
+
data.tar.gz: bf17e28a94dfaf1a18a9f576edb11531adc275f42256346e8d0b84bcd93a4e50518e577c59bc5cb7f81162de593cca5cc2556274da19109da5c0bcc35a53408d
|
data/lib/svn_command_helper.rb
CHANGED
@@ -117,7 +117,11 @@ module SvnCommandHelper
|
|
117
117
|
# @param [path string like] path target path
|
118
118
|
# @param [depth] depth --set-depth for only new updated dirs
|
119
119
|
def update_deep(path, depth = nil)
|
120
|
-
|
120
|
+
exist_path = path
|
121
|
+
until File.exist?(exist_path)
|
122
|
+
exist_path = File.dirname(exist_path)
|
123
|
+
end
|
124
|
+
root = Pathname.new(Svn.working_copy_root_path(exist_path)).realpath
|
121
125
|
end_path = Pathname.new(path.to_s).expand_path.realpath
|
122
126
|
parents = [end_path]
|
123
127
|
while parents.first != root
|