https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-03-11T10:39:43ZRedmineRedmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=150482010-03-11T10:39:43ZToshi MARUYAMA
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>90</i></li></ul><p>Please see <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mercurial overhaul (Closed)" href="https://www.redmine.org/issues/4455">#4455</a> - Mercurial overhaul.</p> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=150842010-03-12T14:10:28ZToshi MARUYAMA
<ul><li><strong>% Done</strong> changed from <i>90</i> to <i>0</i></li></ul><p>Sorry, This issue is "main" and "stable" <strong>repository</strong> problem.<br />I think this issue is related <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Multiple SCM per project (Closed)" href="https://www.redmine.org/issues/779">#779</a>.</p> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=150852010-03-12T14:25:17ZToshi MARUYAMA
<ul></ul><p>Simple solution is to prepare "main + stable" repository.<br /><a class="external" href="http://mercurial.selenic.com/wiki/DeveloperRepos">http://mercurial.selenic.com/wiki/DeveloperRepos</a></p>
<blockquote>
<p><a class="external" href="http://hg.intevation.org/mercurial/crew+main">http://hg.intevation.org/mercurial/crew+main</a><br />automatic mix of crew and main (may contain multiple heads)</p>
</blockquote> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=237722011-01-07T11:58:46ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Description seems like you did history editing, "hg strip", "hg rebase" etc.<br />Mercurial revision number is sequential from 0 and Redmine 1.1 does not treat Mercurial "named branch".<br />We will fix inconsistency with Mercurial repository and database at <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Mercurial repositories display revision ID instead of changeset ID (Closed)" href="https://www.redmine.org/issues/3724">#3724</a>.<br />But, if you did history editing, you need to delete repository and re-add it at Redmine setting.</p>
<p>And we will support a feature of Mercurial "named branch".</p>
<p>I close this issue.</p> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=237732011-01-07T12:27:00ZThomas Capricelli
<ul></ul><p>I did not edit history, not even a rebase. I know that i need to delete/readd the repository if i did. (i have done this several times on other projects).</p>
<p>No, the problem is that 'named branch' were not seen by mercurial, which you seem to acknowledge/agree.</p>
<p>I already follow the ticket <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Mercurial repositories display revision ID instead of changeset ID (Closed)" href="https://www.redmine.org/issues/3724">#3724</a> (using revision id instead of changeset seemed so wrong to me...).</p>
<p>So what you say is that you will do it in the future, but you already close my ticket..? This seems a weird approach of project management.... ? Shouldn't the ticket be closed only when the actual modification has been made ?</p>
<p>Anyway, thanks for taking care of improving mercurial support in redmine, this is needed.</p> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=237742011-01-07T13:01:13ZToshi MARUYAMA
<ul></ul><p>Thank you for your reply.<br />Now I clean up mercurial issues on Redmine for JPL's suggestion at <a href="http://www.redmine.org/issues/4455#note-199" class="external">note-199</a> of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mercurial overhaul (Closed)" href="https://www.redmine.org/issues/4455">#4455</a>.</p>
<p>"Named branch" support is feature issue.<br />There is "tag" feature issue at <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: display mercurial tags (Closed)" href="https://www.redmine.org/issues/1981">#1981</a>.<br />But, there is not "Named branch".<br />Could you create new feature issue for "Named branch"?</p> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=237762011-01-07T13:35:11ZThomas Capricelli
<ul></ul><p>Ok, i created <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Handle "named branch" for mercurial (Closed)" href="https://www.redmine.org/issues/7246">#7246</a> and assigned it to you. I hope i did well.</p> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=237772011-01-07T13:50:37ZToshi MARUYAMA
<ul><li><strong>File</strong> <a href="/attachments/5120">TortoiseHg-default.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5120/TortoiseHg-default.png">TortoiseHg-default.png</a> added</li><li><strong>File</strong> <a href="/attachments/5121">TortoiseHg-stable.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5121/TortoiseHg-stable.png">TortoiseHg-stable.png</a> added</li><li><strong>File</strong> <a href="/attachments/5122">thg-history.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5122/thg-history.png">thg-history.png</a> added</li></ul><p>I attach TortoiseHg <a href="https://bitbucket.org/tortoisehg/stable" class="external">repository</a> images.</p>
<p>TortoiseHg has two named branches.<br />Now stable is 1.1.x, default is 1.9.x.</p>
<p>"thg" is only in default branch.</p>
<pre>
$ LANG=C hg branches
default 9824:493a9d3809e9
stable 9818:66fb6e2ff598 (inactive)
$ LANG=C hg heads
changeset: 9824:493a9d3809e9
tag: tip
user: Steve Borho <XXXXXXXXXXXXXXXX>
date: Thu Jan 06 23:39:14 2011 -0600
summary: thgrepo: repository locks are symlinks to non-existant files
changeset: 9818:66fb6e2ff598
branch: stable
parent: 9790:5fa3912d3563
user: Steve Borho <XXXXXXXXXXXXXXXXX>
date: Wed Jan 05 21:43:41 2011 -0600
summary: thread: improve SSL error messages
</pre> Redmine - Defect #4924: mercurial reader disregard information from non-default branchhttps://www.redmine.org/issues/4924?journal_id=237782011-01-07T14:01:02ZToshi MARUYAMA
<ul></ul><p>Thomas Capricelli wrote:</p>
<blockquote>
<p>Ok, i created <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Handle "named branch" for mercurial (Closed)" href="https://www.redmine.org/issues/7246">#7246</a> and assigned it to you. I hope i did well.</p>
</blockquote>
<p>Thank you.</p>