Project

General

Profile

Actions

Defect #10563

closed

reposman.rb fails to add svn repository when we have one project with git

Added by Jevgen Gyrynovych about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

When I runing:

/usr/share/redmine-1.2.0/extra/svn/reposman.rb --redmine https://example.com --key=mykey --svn-dir /var/svn --owner www-data --url http://example.com/svn-private/ --verbose

for create svn repository for new project I got:
Unable to connect to https://example.com/sys/: wrong constant name Feature-twitter-oauth

The most projects uses svn, but I have one project with git. And "Feature-twitter-oauth" - the name of one branch in this repository.
When I disable project with git - reposman.rb works correct again.

    <homepage></homepage>
    <id type="integer">55</id>
    <identifier>myproject-com</identifier>
    <is-public type="boolean">false</is-public>
    <lft type="integer">129</lft>
    <name>twiseller.com</name>
    <parent-id type="integer" nil="true"></parent-id>
    <rgt type="integer">130</rgt>
    <status type="integer">1</status>
    <updated-on type="datetime">2012-03-29T12:17:03+03:00</updated-on>
    <repository>
      <extra-info type="yaml">--- 
branches: 
  master: 
    last_scmid: 0433896f0b4599a23884300f32b5a270841cd619
  feature-twitter-oauth: 
    last_scmid: 335bf60066c1a77812242d310fd3fd6ebb8616f7

Ruby version 1.8.7
Rails version 2.3.11


Related issues

Is duplicate of Redmine - Defect #8707: Reposman: wrong constant nameClosedJean-Philippe Lang2011-06-29

Actions
Actions #1

Updated by Terence Mill about 12 years ago

We also would like to mix svn and git repos in redmine an both shall work on ldap/webdav and with auto repo cretion via reposman.
Does anyone got this working together?

Actions #2

Updated by Jean-Philippe Lang about 12 years ago

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

Same as #8707, fixed in 1.2.3.

Actions

Also available in: Atom PDF