Bugs: Browse | Submit New | Admin

[#19528] Piston does not work with svn:externals which have svn:externals also.

Date:
2008-04-15 00:23
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Piston does not work with svn:externals which have svn:externals also.

Detailed description
So the here is what I am trying to convert to Piston:

$ svn st plugins
X      plugins/sfHamlViewPlugin
X      plugins/sfPropelMigrationsLightPlugin
X      plugins/sfPropel13Plugin
X      plugins/sfFacebookPlatformPlugin
X      plugins/sfPropelAlternativeSchemaPlugin

Performing status on external item at 'plugins/sfHamlViewPlugin'

Performing status on external item at 'plugins/sfFacebookPlatformPlugin'

Performing status on external item at 'plugins/sfPropelMigrationsLightPlugin'

Performing status on external item at 'plugins/sfPropel13Plugin'
X      plugins/sfPropel13Plugin/lib/vendor/propel
X      plugins/sfPropel13Plugin/lib/vendor/propel-generator

Performing status on external item at 'plugins/sfPropel13Plugin/lib/vendor/propel'

Performing status on external item at 'plugins/sfPropel13Plugin/lib/vendor/propel-generator'

Performing status on external item at 'plugins/sfPropelAlternativeSchemaPlugin'


As you can see plugins/sfPropel13Plugin has svn:externals but Piston throws an error that there are local modifications
and exits.

Obviously the problem comes from this line in piston-1.4.0/lib/piston/commands/convert.rb:34

raise Piston::CommandError, "#{local_dir.inspect} has local modifications:\n#{status}\nYour must revert or commit
before trying again." unless status.empty?

Now unless there is a deeper issue of svn:externals having their own externals, this is easily fixed but again I am
not sure if there are other things that need to be taken into account.

Hope that helps,
Kiril

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-04-15 00:32
Sender: François Beausoleil

Hi, thanks for the bug report.  I'm working on Piston 2.0, and
will take care of this problem there.
Date: 2008-04-15 00:30
Sender: Kiril Angov

I reported this...

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item