Piston 1.2.0 is here. From the ChangeLog:

  • New status subcommand. Shows M if locally or remotely modified. Applies to one, many, all folders. This subcommand requires the use of a Subversion 1.2.0 client. Thanks to Chris Wanstrath for the inspiration. His Rake
    tasks are available at http://errtheblog.com/post/38.
  • Minor patch by Miguel Ibero Carreras to make Subversion always use the C locale, instead of the current one. This allows Piston to be used with internationalized versions of Subversion. David Bittencourt later reported the same problem. Thanks!
  • Better handle how update finds it’s latest local revision to prevent conflicts. If you had never locally changed your vendor repositories, this fix will change nothing for you. This helps prevent local conflicts if you had ever applied a local patch.

Installation

1 $ gem install piston
2 Successfully installed piston, version 1.2.0

There is no need to install Piston on your server. A local installation on your development machine is all that you need to administer the remote code.

Caveat

It is imperative that you locally update your piston:local-revision property manually, just this once. Prior to 1.2.0, Piston would almost never update the piston:local-revision property, meaning it would always think there were local changes. With the new update implementation, Piston would try to merge changes that had already occured, causing many conflicts. You need to reset the value of piston:local-revision to the revision where you last did a piston update or import.

An example is in order.

 1 $ svn propget piston:local-revision vendor\rails
 2 29
 3 
 4 $ svn log -r head:1 vendor/rails
 5 ------------------------------------------------------------------------
 6 r31 | francois | 2006-11-17 10:05:54 -0500 (ven., 17 nov. 2006) | 1 line
 7 
 8 Updated to Rails r4500
 9 ------------------------------------------------------------------------
10 r30 | francois | 2006-11-17 10:03:48 -0500 (ven., 17 nov. 2006) | 1 line
11 
12 Import Rails r4393
13 ------------------------------------------------------------------------
14 
15 $ svn propset piston:local-revision 31 vendor\rails
16 property 'piston:local-revision' set on 'vendor\rails'
17 
18 $ svn commit --quiet --message "Updated piston:local-revision to 31, per ChangeLog instructions"

Visit Piston’s website.

Search

Your Host

A picture of me

I am François Beausoleil, a Ruby on Rails and Scala developer. During the day, I work on Seevibes, a platform to measure social interactions related to TV shows. At night, I am interested many things. Read my biography.

Top Tags

Books I read and recommend

Links

Projects I work on

Projects I worked on