svn_wc_tree 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/svn_wc_client.rb +4 -2
- metadata +4 -4
data/lib/svn_wc_client.rb
CHANGED
@@ -62,9 +62,10 @@ module SvnRepoClient
|
|
62
62
|
@repo_root = @@svn_wc.svn_repo_working_copy
|
63
63
|
end
|
64
64
|
|
65
|
-
def svn_status(f_regex=nil, f_amt=nil, dir
|
65
|
+
def svn_status(f_regex=nil, f_amt=nil, dir=nil)
|
66
66
|
get_repo
|
67
67
|
repo_entries = Array.new
|
68
|
+
dir = @repo_root unless dir and not dir.empty?
|
68
69
|
begin
|
69
70
|
l_svn_list = Array.new
|
70
71
|
@@svn_wc.status(dir).each { |el|
|
@@ -233,9 +234,10 @@ module SvnRepoClient
|
|
233
234
|
|
234
235
|
# recursively list entries, provides file or dir info and access to
|
235
236
|
# nice repo/file info
|
236
|
-
def svn_list(f_regex=nil, f_amt=nil, dir
|
237
|
+
def svn_list(f_regex=nil, f_amt=nil, dir=nil)
|
237
238
|
get_repo
|
238
239
|
repo_entries = Array.new
|
240
|
+
dir = @repo_root unless dir and not dir.empty?
|
239
241
|
begin
|
240
242
|
l_svn_list = Array.new
|
241
243
|
@@svn_wc.list(dir).each { |el|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svn_wc_tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Wright
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-19 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|