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.
@@ -1,3 +1,10 @@
1
+ === 2.1.1 / 2010-06-15
2
+
3
+ * 1 minor enhancement
4
+
5
+ * Patch queues: pop patches *before* pulling, to avoid superfluous (+1 heads)
6
+ messages.
7
+
1
8
  === 2.1.0 / 2010-06-04
2
9
 
3
10
  * 1 major enhancement
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  require 'hoe'
5
5
 
6
6
  Hoe.spec 'vlad-hg' do
7
- rubyforge_name = 'hitsquad'
7
+ self.rubyforge_name = 'hitsquad'
8
8
  developer 'Kevin R. Bullock', 'kbullock@ringworld.org'
9
9
  extra_deps << ['vlad', '~> 2.0']
10
10
  end
@@ -3,7 +3,7 @@ require 'vlad'
3
3
  module Vlad
4
4
  class Mercurial
5
5
 
6
- VERSION = '2.1.0'.freeze
6
+ VERSION = '2.1.1'.freeze
7
7
 
8
8
  set :source, Vlad::Mercurial.new
9
9
  set :hg_cmd, "hg"
@@ -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: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 0
10
- version: 2.1.0
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-04 00:00:00 -05:00
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: vlad-hg
121
+ rubyforge_project: hitsquad
122
122
  rubygems_version: 1.3.7
123
123
  signing_key:
124
124
  specification_version: 3