https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-06-05T11:08:23ZRedmineRedmine - Patch #3445: Missing revisions - bazaar_adapter.rb fails to parse the "[merge]" taghttps://www.redmine.org/issues/3445?journal_id=95822009-06-05T11:08:23ZScott Aubrey
<ul><li><strong>File</strong> <a href="/attachments/2143">redmine_bazaar_merge_revisions.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2143/redmine_bazaar_merge_revisions.patch">redmine_bazaar_merge_revisions.patch</a> added</li></ul><p>Hello</p>
<p>We also came across this issue when using bazaar. We altered the existing RegEx to detect ' [merge]' at the end of the revno: line, as show in the attached diff. It's exactly the same, but less redundant code, cleaner to read etc.</p> Redmine - Patch #3445: Missing revisions - bazaar_adapter.rb fails to parse the "[merge]" taghttps://www.redmine.org/issues/3445?journal_id=95832009-06-05T13:18:02Zdaniel magnusson
<ul></ul><p>Scott Aubrey wrote:</p>
<blockquote>
<p>Hello</p>
<p>We also came across this issue when using bazaar. We altered the existing RegEx to detect ' [merge]' at the end of the revno: line, as show in the attached diff. It's exactly the same, but less redundant code, cleaner to read etc.</p>
</blockquote>
<p>Nice patch, a question, do you have problems with "Autofetch commits" when you click inside redmine->repository as well? (it doesn't fetch the latest revisions from bazaar). I believe there is some other "bazaar fetch code" somewhere in redmine that doesn't properly work, but I'm just guessing here.</p>
<p>We haven't found a solution for it and are just doing the "ruby script/runner "Repository.fetch_changesets" -e production" as a cronjob for now.</p> Redmine - Patch #3445: Missing revisions - bazaar_adapter.rb fails to parse the "[merge]" taghttps://www.redmine.org/issues/3445?journal_id=95842009-06-05T13:37:14ZScott Aubrey
<ul></ul><p>daniel magnusson wrote:</p>
<blockquote>
<p>do you have problems with "Autofetch commits" when you click inside redmine->repository as well? (it doesn't fetch the latest revisions from bazaar). I believe there is some other "bazaar fetch code" somewhere in redmine that doesn't properly work, but I'm just guessing here.</p>
<p>We haven't found a solution for it and are just doing the "ruby script/runner "Repository.fetch_changesets" -e production" as a cronjob for now.</p>
</blockquote>
<p>The autofetch is working for us fine, but I am using a checkout of trunk at the time of setup as apposed to a stable release. It may have been fixed I guess.</p>
<p>We're using the mirrorred branch of trunk on launchpad, rev 2244</p> Redmine - Patch #3445: Missing revisions - bazaar_adapter.rb fails to parse the "[merge]" taghttps://www.redmine.org/issues/3445?journal_id=96002009-06-06T10:38:18ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>0.9.0</i></li></ul><p>Patch applied in <a class="changeset" title="Fixed: Bazaar "[merge]" tags parsing fails (#3445)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2780">r2780</a>. Thanks.</p>