Phoenix ~/scratch/t5 [master] $ piston import --commit 2-3-stable
git://github.com/rails/rails.git vendor/rails
INFO main: Guessing the repository type
INFO main: Guessing the working copy type
/Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/client.rb:
57:in `run_real': "git checkout -b my-2-3-stable 2-3-stable" exited
with status: 128 (Piston::Git::Client::CommandError)
fatal: git checkout: updating paths is incompatible with switching
branches.
Did you intend to checkout '2-3-stable' which can not be resolved as
commit?
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/
client.rb:34:in `run_cmd'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/
client.rb:21:in `git'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/
commit.rb:24:in `git'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/
commit.rb:52:in `checkout_to'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/
commit.rb:51:in `chdir'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/git/
commit.rb:51:in `checkout_to'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/
working_copy.rb:183:in `import'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/commands/
import.rb:38:in `run'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/commands/
import.rb:49:in `start'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/cli.rb:67:in
`start'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/lib/piston/cli.rb:121
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.3/bin/piston:5
from /usr/bin/piston:19:in `load'
from /usr/bin/piston:19
Mike
/Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/client.rb:
57:in `run_real': "git checkout -b my-2-3-stable 2-3-stable" exited
with status: 128 (Piston::Git::Client::CommandError)
fatal: git checkout: updating paths is incompatible with switching
branches.
Did you intend to checkout '2-3-stable' which can not be resolved as
commit?
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/
client.rb:34:in `run_cmd'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/
client.rb:21:in `git'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/
commit.rb:24:in `git'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/
commit.rb:54:in `checkout_to'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/
commit.rb:51:in `chdir'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/git/
commit.rb:51:in `checkout_to'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/
working_copy.rb:183:in `import'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/commands/
import.rb:38:in `run'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/commands/
import.rb:49:in `start'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/cli.rb:67:in
`start'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/lib/piston/cli.rb:121
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/piston-2.0.4/bin/piston:5
from /usr/bin/piston:19:in `load'
from /usr/bin/piston:19
Anyway, 2.0.5 should be available on Rubyforge shortly.
Bye!
Mike