public
Description: Piston is a utility that eases vendor branch management. This repository is a complete reimplementation of Piston to provide different backends, depending on the repositories and working copies you pistonize from.
Homepage: http://piston.rubyforge.org/
Clone URL: git://github.com/francois/piston.git
Search Repo:
Don't attempt to set the local revision when creating the working copy in 
Piston::Svn::WorkingCopy.
francois (author)
Sat Mar 15 11:51:33 -0700 2008
commit  45ec1b065d277124676838e33ec4b7d8fa69d334
tree    c8dac406f2c310d8c9a20bb6cf049a98407cc45e
parent  a1a007d46769f6b03958110e5fc46df801ec8a2d
...
32
33
34
35
36
37
38
39
40
41
...
32
33
34
 
 
35
 
36
37
38
0
@@ -32,10 +32,7 @@
0
       end
0
 
0
       def create
0
- info = YAML.load(svn(:info, path.parent))
0
- local_rev = info["Last Changed Rev"]
0
         svn(:mkdir, path)
0
- svn(:propset, Piston::Svn::LOCAL_REV, local_rev, path)
0
       end
0
 
0
       def copy_from(revision)
...
16
17
18
19
20
21
22
23
24
25
...
16
17
18
 
 
 
 
 
 
19
0
@@ -16,11 +16,5 @@
0
     @wc.expects(:svn).with(:mkdir, @wcdir)
0
     @wc.create
0
   end
0
-
0
- def test_create_sets_local_revision
0
- @wc.expects(:svn).with(:info, @wcdir.parent).returns("Last Changed Rev: 1321\n")
0
- @wc.expects(:svn).with(:propset, Piston::Svn::LOCAL_REV, 1321, @wcdir)
0
- @wc.create
0
- end
0
 end

Comments

    No one has commented yet.