[ANN] Piston 1.3.2: More switch corrections

  • Thread starter François Beausoleil
  • Start date
F

François Beausoleil

U29ycnkgZm9yIHRoZSBkb3VibGUgbWVzc2FnZSwgYnV0IEkgZm91bmQgYW5vdGhlciBidWcgaW4g
dGhlIHBpc3Rvbgpzd2l0Y2ggc3ViY29tbWFuZC4gIFRoaXMgd2FycmFudGVkIGFub3RoZXIgcGF0
Y2ggcmVsZWFzZSwgb3IgZWxzZSBpdAp3b3VsZCBoYXZlIGJlZW4gdW51c2FibGUuCgo9IFdoYXQg
aXMgaXQgPwoKUGlzdG9uIGlzIGEgdXRpbGl0eSB0aGF0IGVhc2VzIHZlbmRvciBicmFuY2ggbWFu
YWdlbWVudC4KVGhpcyBpcyBzaW1pbGFyIHRvIDx0dD5zdm46ZXh0ZXJuYWxzPC90dD4sIGV4Y2Vw
dCB5b3UgaGF2ZSBhIGxvY2FsIGNvcHkgb2YKdGhlIGZpbGVzLCB3aGljaCB5b3UgY2FuIG1vZGlm
eSBhdCB3aWxsLiAgQXMgbG9uZyBhcyB0aGUgY2hhbmdlcyBhcmUKbWVyZ2VhYmxlLCB5b3Ugc2hv
dWxkIGhhdmUgbm8gcHJvYmxlbXMuCgo9IFdoYXQncyBjaGFuZ2VkID8KCjIwMDctMDMtMDkgMS4z
LjIKKiBwaXN0b24gc3dpdGNoIGhhZCBhIGJhZCBjb25zdGFudCBhY2Nlc3Mgd2hpY2ggY2F1c2Vk
IGZhaWx1cmVzLgoKPSBJbnN0YWxsYXRpb24KCiBzdWRvIGdlbSBpbnN0YWxsIC0taW5jbHVkZS1k
ZXBlbmRlbmNpZXMgcGlzdG9uCgpFbmpveSAhCi0tIApGcmFuw6dvaXMgQmVhdXNvbGVpbApodHRw
Oi8vYmxvZy50ZWtzb2wuaW5mby8KaHR0cDovL3Bpc3Rvbi5ydWJ5Zm9yZ2Uub3JnLwo=
 
H

hemant

Sorry for the double message, but I found another bug in the piston
switch subcommand. This warranted another patch release, or else it
would have been unusable.

=3D What is it ?

Piston is a utility that eases vendor branch management.
This is similar to <tt>svn:externals</tt>, except you have a local copy o= f
the files, which you can modify at will. As long as the changes are
mergeable, you should have no problems.

=3D What's changed ?

2007-03-09 1.3.2
* piston switch had a bad constant access which caused failures.

=3D Installation

sudo gem install --include-dependencies piston

Ok, say I have checked out code from some remote repo using piston in
"/vendor/plugins" directory of rails and have modified the plugin.
Now, I want to checkin these modifications to the remote repository,
so that other people can also get the new code.

So, how does piston solve this problem? can i checkin my plugin from
RAILS_ROOT, assuming RAILS_ROOT is associated with different SVN repo
and plugin has been downloaded from different svn repo?


--=20
gnufied
 
C

Christoph Sturm

Hello Francois!

It seems there are still some problems with switch:

here's what happens when i try to switch my rspec_on_rails plugin from
the 0_8_1 tag to the 0_8_2 tag:

zen% piston switch
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec_on_rails/vendor/plug=
ins/rspec_on_rails
vendor/plugins/rspec_on_rails
Processing 'vendor/plugins/rspec_on_rails'...
Fetching remote repository's latest revision and UUID
Restoring remote repository to known state at r1561
Updating remote repository to
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec_on_rails/vendor/plug=
ins/rspec_on_rails@1560
svn: Target path does not exist
/opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/piston/command.rb:47:in
`svn': Command svn switch --revision 1560
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec_on_rails/vendor/plug=
ins/rspec_on_rails
vendor/plugins/rspec_on_rails.tmp resulted in an error: (RuntimeError)

from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/piston/comm=
ands/switch.rb:51:in
`switch'
from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/piston/comm=
ands/switch.rb:9:in
`run'
from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/transat/par=
ser.rb:131:in
`execute'
from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/transat/par=
ser.rb:127:in
`each'
from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/transat/par=
ser.rb:127:in
`execute'
from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/lib/transat/par=
ser.rb:104:in
`parse_and_execute'
from /opt/local/lib/ruby/gems/1.8/gems/piston-1.3.2/bin/piston:10
from /opt/local/bin/piston:16:in `load'
from /opt/local/bin/piston:16

regards
chris

Sorry for the double message, but I found another bug in the piston
switch subcommand. This warranted another patch release, or else it
would have been unusable.

=3D What is it ?

Piston is a utility that eases vendor branch management.
This is similar to <tt>svn:externals</tt>, except you have a local copy o= f
the files, which you can modify at will. As long as the changes are
mergeable, you should have no problems.

=3D What's changed ?

2007-03-09 1.3.2
* piston switch had a bad constant access which caused failures.

=3D Installation

sudo gem install --include-dependencies piston

Enjoy !


--=20
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,237
Messages
2,571,189
Members
47,823
Latest member
eipamiri

Latest Threads

Top