hgsubversion无法找到存储库

时间:2013-11-26 14:07:35

标签: svn ubuntu mercurial hgsubversion

所以,我们有我们项目的svn存储库。以前我通过hgsubversion扩展将这个项目的副本存储在本地hg存储库中,一切正常 今天我重新安装了ubuntu,并从12.04切换到13.04。我已经安装了 hg (版本2.2.2),颠覆(版本1.7.5)和 hgsubversion (1.4-1)。
我可以通过hg clone克隆存储库,但之后我无法执行任何涉及与远程svn存储库合作的操作 - 我不断收到以下错误:

abort: repository svn+https://'our-project-url' not found!

这个问题可能是什么原因?

2 个答案:

答案 0 :(得分:0)

一年前我问过这个问题,我不记得详细信息,但我记得问题出现在hgrc文件的名称和/或位置不正确的位置 - 我将其命名为.hgrc并放入project-dir/.hg目录(project-dir/.hg/.hgrc)或将其放在project-dir目录(project-dir/.hgrc)内。
正确的名称/位置当然是project-dir/.hg/hgrc

答案 1 :(得分:0)

如果未在<!-- language: lang-xml --> <bean id="defaultActiveMQRedeliveryPolicy" class="org.apache.activemq.RedeliveryPolicy"> </bean> <util:list id="redeliveryPolicyEntries"> <bean id="activeMQRedeliveryPolicy1" class="org.apache.activemq.RedeliveryPolicy"> <property name="queue" value="inbox"></property> </bean> </util:list> <bean id="amqRedeliveryPolicyMap" class="org.apache.activemq.broker.region.policy.RedeliveryPolicyMap"> <property name="defaultEntry" ref="defaultActiveMQRedeliveryPolicy"></property> <property name="redeliveryPolicyEntries" ref="redeliveryPolicyEntries"></property> </bean> <bean id="amqPrefetchPolicy" class="org.apache.activemq.ActiveMQPrefetchPolicy"> </bean> <bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" destroy-method="stop"> <property name="maxConnections" value="20" /> <property name="maximumActiveSessionPerConnection" value="40" /> <property name="connectionFactory" ref="jmsConnectionFactory"> </property> </bean> <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="${jmsConnectionFactory.brokerURL}" /> <property name="userName" value="admin" /> <property name="password" value="admin" /> <property name="prefetchPolicy" ref="amqPrefetchPolicy" /> <property name="redeliveryPolicyMap" ref="amqRedeliveryPolicyMap" /> </bean> <bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration"> <property name="connectionFactory" ref="pooledConnectionFactory" /> <property name="concurrentConsumers" value="15" /> <property name="maxConcurrentConsumers" value="30" /> <property name="asyncConsumer" value="false" /> <property name="cacheLevelName" value="CACHE_CONSUMER" /> </bean> <!-- this bean actually represents a jms component to be used in our camel-integration setup.make endpoints by using name(id) of this bean. --> <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="configuration" ref="jmsConfig" /> <property name="transacted" value="false" /> <property name="transactionManager"> <bean class="org.springframework.jms.connection.JmsTransactionManager"> <property name="connectionFactory" ref="jmsConnectionFactory" /> </bean> </property> </bean> 文件中设置/启用hgsubversion扩展名,则会发生此错误。