#15 new
Mathias Ertl

Viewing some commits throw an error

Reported by Mathias Ertl | February 25th, 2011 @ 09:50 AM

I recently migrated several SVN-repositories to our own Gitorious installation. Some (not all) repositories fail on viewing the last commit, where I merge the git-svn branch to master. Here is how I migrated the svn projects (the code was once located at the SVN repository root and was then moved to trunk/):

git svn clone <repo-url>/<dir> --no-metadata -A ../authors.txt <dir>
git svn clone <repo-url>trunk/<dir> --no-metadata -A ../authors.txt trunk/<dir>
cd dir
git remote add trunk ../trunk/<dir>
git config remote.trunk.push 'refs/remotes/*:refs/heads/*'
git push trunk
cd ../trunk/<dir>
git merge git-svn master
git merge git-svn
git commit
git remote add origin <git-url>
git config remote.origin.push 'refs/head/*'
git push --tags origin master

Now when viewing the latest commits online, I get the attached e-mail as an error, summary:

  undefined method `link_to' for "views.commits.message":String
  On line #33 of app/views/commits/show.html.erb

Here the URLs:
* The ManipulateUpload-Extension * Viewing 8be44109 results in an error. * Viewing 637e20d0, which is the previous commit, works fine.

I Hope you can fix this issue ;-)

Comments and changes to this ticket

  • Marius Mathiesen

    Marius Mathiesen March 8th, 2011 @ 07:43 AM

    This seems to indicate you have the i18n gem installed on your system; this gem is incompatible with Gitorious. Uninstalling it with Rubygems should resolve the issue.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Use https://issues.gitorious.org/ - this site is not in use

Shared Ticket Bins

Attachments