vlad-hg 2.1.0 → 2.1.1
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.
- data/History.txt +7 -0
 - data/Rakefile +1 -1
 - data/lib/vlad/mercurial.rb +1 -1
 - data/lib/vlad/mercurial_queue.rb +1 -1
 - data/test/test_vlad_mercurial_queue.rb +3 -3
 - metadata +5 -5
 
    
        data/History.txt
    CHANGED
    
    
    
        data/Rakefile
    CHANGED
    
    
    
        data/lib/vlad/mercurial.rb
    CHANGED
    
    
    
        data/lib/vlad/mercurial_queue.rb
    CHANGED
    
    | 
         @@ -21,9 +21,9 @@ module Vlad 
     | 
|
| 
       21 
21 
     | 
    
         
             
                  commands = []
         
     | 
| 
       22 
22 
     | 
    
         
             
                  commands << "if [ ! -d .hg ]; then #{hg_cmd} init; fi"
         
     | 
| 
       23 
23 
     | 
    
         
             
                  commands << "if [ ! -d .hg/patches/.hg ]; then #{hg_cmd} qinit -c; fi"
         
     | 
| 
      
 24 
     | 
    
         
            +
                  commands << "#{hg_cmd} qpop -a"
         
     | 
| 
       24 
25 
     | 
    
         
             
                  commands << "#{hg_cmd} pull #{repository}"
         
     | 
| 
       25 
26 
     | 
    
         
             
                  commands << "#{hg_cmd} pull -R .hg/patches #{queue_repo}"
         
     | 
| 
       26 
     | 
    
         
            -
                  commands << "#{hg_cmd} qpop -a"
         
     | 
| 
       27 
27 
     | 
    
         
             
                  commands << "#{hg_cmd} update #{revision}"
         
     | 
| 
       28 
28 
     | 
    
         
             
                  commands << "#{hg_cmd} update -R .hg/patches #{queue_revision}"
         
     | 
| 
       29 
29 
     | 
    
         
             
                  commands << "#{hg_cmd} qpush -a"
         
     | 
| 
         @@ -17,9 +17,9 @@ class TestVladMercurialQueue < MiniTest::Unit::TestCase 
     | 
|
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
                expected = "if [ ! -d .hg ]; then hg init; fi " \
         
     | 
| 
       19 
19 
     | 
    
         
             
                           "&& if [ ! -d .hg/patches/.hg ]; then hg qinit -c; fi " \
         
     | 
| 
      
 20 
     | 
    
         
            +
                           "&& hg qpop -a " \
         
     | 
| 
       20 
21 
     | 
    
         
             
                           "&& hg pull http://repo/project " \
         
     | 
| 
       21 
22 
     | 
    
         
             
                           "&& hg pull -R .hg/patches http://repo/project/.hg/patches " \
         
     | 
| 
       22 
     | 
    
         
            -
                           "&& hg qpop -a " \
         
     | 
| 
       23 
23 
     | 
    
         
             
                           "&& hg update tip " \
         
     | 
| 
       24 
24 
     | 
    
         
             
                           "&& hg update -R .hg/patches tip " \
         
     | 
| 
       25 
25 
     | 
    
         
             
                           "&& hg qpush -a"
         
     | 
| 
         @@ -46,9 +46,9 @@ class TestVladMercurialQueue < MiniTest::Unit::TestCase 
     | 
|
| 
       46 
46 
     | 
    
         | 
| 
       47 
47 
     | 
    
         
             
                expected = "if [ ! -d .hg ]; then hg init; fi " \
         
     | 
| 
       48 
48 
     | 
    
         
             
                           "&& if [ ! -d .hg/patches/.hg ]; then hg qinit -c; fi " \
         
     | 
| 
      
 49 
     | 
    
         
            +
                           "&& hg qpop -a " \
         
     | 
| 
       49 
50 
     | 
    
         
             
                           "&& hg pull http://repo/project " \
         
     | 
| 
       50 
51 
     | 
    
         
             
                           "&& hg pull -R .hg/patches http://repo/project-patched " \
         
     | 
| 
       51 
     | 
    
         
            -
                           "&& hg qpop -a " \
         
     | 
| 
       52 
52 
     | 
    
         
             
                           "&& hg update tip " \
         
     | 
| 
       53 
53 
     | 
    
         
             
                           "&& hg update -R .hg/patches tip " \
         
     | 
| 
       54 
54 
     | 
    
         
             
                           "&& hg qpush -a"
         
     | 
| 
         @@ -64,9 +64,9 @@ class TestVladMercurialQueue < MiniTest::Unit::TestCase 
     | 
|
| 
       64 
64 
     | 
    
         | 
| 
       65 
65 
     | 
    
         
             
                expected = "if [ ! -d .hg ]; then hg init; fi " \
         
     | 
| 
       66 
66 
     | 
    
         
             
                           "&& if [ ! -d .hg/patches/.hg ]; then hg qinit -c; fi " \
         
     | 
| 
      
 67 
     | 
    
         
            +
                           "&& hg qpop -a " \
         
     | 
| 
       67 
68 
     | 
    
         
             
                           "&& hg pull http://repo/project " \
         
     | 
| 
       68 
69 
     | 
    
         
             
                           "&& hg pull -R .hg/patches http://repo/project/.hg/patches " \
         
     | 
| 
       69 
     | 
    
         
            -
                           "&& hg qpop -a " \
         
     | 
| 
       70 
70 
     | 
    
         
             
                           "&& hg update tip " \
         
     | 
| 
       71 
71 
     | 
    
         
             
                           "&& hg update -R .hg/patches deadbeefd00d " \
         
     | 
| 
       72 
72 
     | 
    
         
             
                           "&& hg qpush -a"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: vlad-hg
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 9
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 2
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 1
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 2.1. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 2.1.1
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Kevin R. Bullock
         
     | 
| 
         @@ -15,7 +15,7 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2010-06- 
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2010-06-23 00:00:00 -05:00
         
     | 
| 
       19 
19 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       20 
20 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       21 
21 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
         @@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       118 
118 
     | 
    
         
             
                  version: "0"
         
     | 
| 
       119 
119 
     | 
    
         
             
            requirements: []
         
     | 
| 
       120 
120 
     | 
    
         | 
| 
       121 
     | 
    
         
            -
            rubyforge_project:  
     | 
| 
      
 121 
     | 
    
         
            +
            rubyforge_project: hitsquad
         
     | 
| 
       122 
122 
     | 
    
         
             
            rubygems_version: 1.3.7
         
     | 
| 
       123 
123 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       124 
124 
     | 
    
         
             
            specification_version: 3
         
     |