code_cache 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/code_cache/repo/svn.rb +4 -2
- 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: 529eb7347372076b8078f4f0328d71db22e35f90
|
|
4
|
+
data.tar.gz: e9d55ccbc190767469aa8866c55b9bff07afd76a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77e01ceae24040af9ba7933e915adc8cba69b9321c241345605bd209d9fe42d89befb4080a4a0affac8be14423b769d2d777a66c079911b9ebc0dd72efbe8e25
|
|
7
|
+
data.tar.gz: ec8ec689a43c3cdb7cdde2f4050b5d97ada11f552af15a4cbf693b91a1ddb3e037a5290d3602e5412962f84c8a7de1838014c1a4ee989d477bf589c5dd68ca6e
|
data/lib/code_cache/repo/svn.rb
CHANGED
|
@@ -9,7 +9,9 @@ module CodeCache
|
|
|
9
9
|
|
|
10
10
|
# Checkout a particular revision from the repo into the destination
|
|
11
11
|
# Caches the checkout in the process
|
|
12
|
-
def checkout( revision, destination )
|
|
12
|
+
def checkout( revision, destination, branch=nil )
|
|
13
|
+
|
|
14
|
+
puts "Checking out branch in not supported for SVN" if branch
|
|
13
15
|
|
|
14
16
|
if revision != :head
|
|
15
17
|
raise "Checking out revisions other than head currently not supported"
|
|
@@ -96,4 +98,4 @@ module CodeCache
|
|
|
96
98
|
|
|
97
99
|
|
|
98
100
|
|
|
99
|
-
end
|
|
101
|
+
end
|