Project

General

Profile

Actions

Defect #3677

closed

fetching changesets from Mercurial repository fails

Added by Andreas Deininger over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
SCM
Target version:
-
Start date:
2009-07-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

I'm trying to fetching changesets from a HG repository attached to my project.

ruby script/runner "Repository.fetch:changesets"

That task chokes due to the fact that one single file in my repository contains umlauts (character: ä) in its file name.

Stacktrace:


c:/Programme/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/runner.rb:47: c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188:in `log': Mysql::Error: Incorrect string value: '\xE4nken....' for column 'path' at row 1: INSERT INTO `changes` (`changeset_id`, `action`, `revision`, `branch`, `from_path`, `path`, `from_revision`) VALUES(38, 'A', NULL, NULL, NULL, '/H_Programm_rpy/Paralleles_Tränken.ucd', NULL) (ActiveRecord::StatementInvalid)
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:309:in `execute'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:171:in `insert_sql'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:319:in `insert_sql'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert_without_query_dirty'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb:18:in `insert'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2733:in `create_without_callbacks'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/callbacks.rb:237:in `create_without_timestamps'
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/timestamp.rb:29:in `create'
     ... 30 levels...
    from c:/Programme/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/runner.rb:47
    from c:/Programme/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from c:/Programme/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from script/runner:3


Related issues

Is duplicate of Redmine - Defect #2664: Mercurial: Repository path encoding of non UTF-8 charactersClosedToshi MARUYAMA2009-02-04

Actions
Actions #1

Updated by Toshi MARUYAMA almost 14 years ago

  • Subject changed from fetching changesets from HG repository fails to fetching changesets from Mercurial repository fails
  • Category set to SCM
  • Assignee set to Toshi MARUYAMA
Actions #2

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Try #2664 note-19 patches.

Actions

Also available in: Atom PDF