Files
siarp.de/public/comment/153/index.html
T
2019-12-08 16:36:45 +01:00

159 lines
7.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr">
<!-- Mirrored from siarp.de/comment/153 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 08 Dec 2019 12:05:00 GMT -->
<head profile="http://www.w3.org/1999/xhtml/vocab">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
<title>Bazaar: incompatible format 2a and rich-root support | siarp.de</title>
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_xE-rWrJf-fncB6ztZfd2huxqgxu4WO-qwma6Xer30m4.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_NdVgz6YKifxQUEsW5xls_zI7Pn2F7E5U5Wb29zcu3vo.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_OAqUol8y_hmU_lCucLyaRX-a1G627sWWbvG_VG1GKnE.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_xPIRNNJGw8EiKyuE5b-xAtWWTQ8U1_huTr4xL09Dq2A.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_k3snrbsthqot7V7ccRZHS9OkCZkwBv4adtNieIVlbEU.css" media="print" />
<!--[if lt IE 7]>
<link type="text/css" rel="stylesheet" href="http://siarp.de/themes/garland/fix-ie.css?q26w7t" media="all" />
<![endif]-->
<script type="text/javascript" src="../../sites/siarp.de/files/js/js_qikmINIYTWe4jcTUn8cKiMr8bmSDiZB9LQqvceZ6wlM.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"garland","theme_token":"tYi-ozgu5CQXr24H7fqW3pKgIXcF8lDwVg7yv-7bjfQ","js":{"misc\/jquery.js":1,"misc\/jquery-extend-3.4.0.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"modules\/comment\/comment.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/views\/css\/views.css":1,"sites\/all\/modules\/ctools\/css\/ctools.css":1,"public:\/\/geshi\/geshifilter-languages.css":1,"sites\/siarp.de\/modules\/geshifilter\/geshifilter.css":1,"themes\/garland\/style.css":1,"themes\/garland\/print.css":1,"themes\/garland\/fix-ie.css":1}}});
//--><!]]>
</script>
</head>
<body class="html not-front not-logged-in one-sidebar sidebar-second page-node page-node- page-node-218 node-type-story fluid-width" >
<div id="skip-link">
<a href="#main-content" class="element-invisible element-focusable">Skip to main content</a>
</div>
<div id="wrapper">
<div id="container" class="clearfix">
<div id="header">
<div id="logo-floater">
<div id="branding"><strong><a href="../../">
<span>siarp.de</span> </a></strong></div>
</div>
</div> <!-- /#header -->
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
<h2 class="element-invisible">You are here</h2><div class="breadcrumb"><a href="../../">Home</a></div> <a id="main-content"></a>
<div id="tabs-wrapper" class="clearfix"> <h1 class="with-tabs">Bazaar: incompatible format 2a and rich-root support</h1>
</div> <div class="clearfix">
<div class="region region-content">
<div id="block-system-main" class="block block-system clearfix">
<div class="content">
<div id="node-218" class="node node-story node-promoted">
<span class="submitted">26. October 2009 - 10:38 — <span class="username">Martin</span></span>
<div class="content clearfix">
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>I'm running Bazaar 2.0 on my local machine and the remote repository runs on Ubuntu Jaunty which provides Bazaar 1.13. After working locally for some time I wanted to push my branch to a newly created shared repository on the server but I got the error message</p>
<div class="geshifilter"><div class="text geshifilter-text">bzr: ERROR: RemoteRepository(bzr+ssh://SERVER/path/to/repo/.bzr/) &nbsp; &nbsp; &nbsp; <br />
is not compatible with<br />
CHKInventoryRepository('file:///path/to/repo/.bzr/repository/')<br />
different rich-root support</div></div>
<p>Reading http://www.nabble.com/bazaar-error-on-repository-td25868297.html it seems different Bazaar versions make different repository formats which are incompatible. But</p>
<blockquote>
<p>[...] you could move the server to a rich root capable format; then
it would work (though crossing the format boundary can be slow).
1.3.1 is new enough to support rich-root-pack.</p>
</blockquote>
<p>So on the server I did</p>
<div class="geshifilter"><div class="text geshifilter-text">bzr upgrade --rich-root-pack repo/</div></div>
<p>and now it works. I can push my local branch to the remote repository.</p>
<p><strong>But only once!</strong></p>
<p>Second time I wanted to push I got another error:</p>
<div class="geshifilter"><div class="text geshifilter-text">bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', &quot;'Bazaar repository format 2a (needs bzr 1.16 or later)\\n'&quot;)</div></div>
<p>Looks like the format 2a, which is the default for Bazaar >= 2.0 is incompatible with the one on my server. Downgrading to an older format of my local tree did the trick:</p>
<div class="geshifilter"><div class="text geshifilter-text">bzr upgrade --format=1.14-rich-root</div></div>
</div></div></div> </div>
<div class="clearfix">
<div class="links"><ul class="links inline"><li class="comment_forbidden first last"></li>
</ul></div>
<div id="comments" class="comment-wrapper">
<h2 class="title">Comments</h2>
<a id="comment-153"></a>
<div class="comment comment-by-anonymous odd">
<div class="clearfix">
<span class="submitted">26. December 2009 - 20:54 — <span class="username">Anonym</span></span>
<h3><a href="index.html#comment-153" class="permalink" rel="bookmark">Thanks, helped a lot :)</a></h3>
<div class="content">
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p>Thanks, helped a lot :)</p>
</div></div></div> </div>
</div>
<ul class="links inline"><li class="comment_forbidden first last"></li>
</ul></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="region region-footer">
<div id="block-block-3" class="block block-block clearfix">
<div class="content">
<p>Alle Rechte liegen bei siarp.</p>
</div>
</div>
</div>
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
<div id="sidebar-second" class="sidebar">
<div class="region region-sidebar-second">
<div id="block-menu-menu-autoren" class="block block-menu clearfix">
<h2 class="title">Written by</h2>
<div class="content">
<ul class="menu"><li class="first leaf"><a href="../../blog/2/">Martin</a></li>
<li class="last leaf"><a href="../../blog/3/">Tilman</a></li>
</ul> </div>
</div>
</div>
</div>
</div> <!-- /#container -->
</div> <!-- /#wrapper -->
</body>
<!-- Mirrored from siarp.de/comment/153 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 08 Dec 2019 12:05:00 GMT -->
</html>