[rspec-devel] [ rspec-Bugs-7145 ] Hint for subversion users
noreply at rubyforge.org
noreply at rubyforge.org
Sun Apr 29 03:05:57 EDT 2007
Bugs item #7145, was opened at 2006-12-07 09:28
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=7145&group_id=797
Category: rails plugin
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Stefan Saasen (attachr)
>Assigned to: David Chelimsky (dchelimsky)
Summary: Hint for subversion users
Initial Comment:
Hi,
the revision based version information used in vendor/plugins/rspec/lib/spec/rails/version.rb causes trouble if subversion is used to manage the rails application. If svn:keywords is set to "Revision" on version.rb the Revision is updated to the local revision. This causes the rspec on rails plugin to fail.
Maybe you can add a hint to the documentation to either disable svn:keywords (Revision) on version.rb or to manually change the REV constant to the original revision (1201 for the 0.7.4 plugin).
best regards
stefan saasen
----------------------------------------------------------------------
>Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-29 07:05
Message:
Fixed in trunk rev 1831.
----------------------------------------------------------------------
Comment By: Stefan Saasen (attachr)
Date: 2007-04-17 08:48
Message:
No, the problem only occurs if the plugin is installed
without using svn:externals.
The problem is as soon as you install the plugin and the
rails project (including all the plugins) is managed using
Subversion the RSpec Revision will be replaced.
For example:
version.rb in RSPec has Revision 15xx
After installing the plugin the Revision number is set to
whatever is used for the version.rb file in the Rails project.
----------------------------------------------------------------------
Comment By: Aslak Hellesøy (aslak_hellesoy)
Date: 2007-04-17 01:08
Message:
I don't understand this. We have set the svn:keywords to "Revision" as you mentioned - in RSpec's own svn. I'm assuming you have installed RSpec as a plugin with svn:externals.
Are you saying that RSpec's version.rb is updated with *your* repository's revision instead of *RSpec's* revision?
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=7145&group_id=797
More information about the rspec-devel
mailing list