tag:support.hglabhq.com,2012-10-18:/discussions/problems/314-sequence-contains-no-elements-error-while-browsing-repositoryHgLab: Discussion 2013-08-09T08:31:18Ztag:support.hglabhq.com,2012-10-18:Comment/281517352013-08-07T15:13:18Z2013-08-07T15:13:18ZSequence contains no elements error while browsing repository<div><p>Alex,</p>
<p>What does <code>hg branches</code> command show for the
repository you cannot browse in HgLab?</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/281517352013-08-08T08:31:25Z2013-08-08T08:31:25ZSequence contains no elements error while browsing repository<div><p>Hi!<br>
<a href=
"http://screencast.com/t/TNZJe3NQc">http://screencast.com/t/TNZJe3NQc</a></p></div>Alex Omgovitskijtag:support.hglabhq.com,2012-10-18:Comment/281517352013-08-08T13:04:16Z2013-08-08T13:04:16ZSequence contains no elements error while browsing repository<div><p>Alex,</p>
<p>That's a subtle one. HgLab expects that any given repository
will always contain branch <code>default</code>, which is not the
case in your situation.</p>
<p>I'll be fixing this in an upcoming release. For now you can
either commit something to branch <code>default</code> or change
the value of <code>MainlineBranch</code> column in
<code>Repository</code> table of HgLab database to
<code>/EventQ</code>.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/281517352013-08-09T08:24:08Z2013-08-09T08:24:09ZSequence contains no elements error while browsing repository<div><p>Thanks!<br>
I'll add a default branch for now.</p></div>Alextag:support.hglabhq.com,2012-10-18:Comment/281517352013-08-09T08:27:15Z2013-08-09T08:27:17ZSequence contains no elements error while browsing repository<div><p>Or change MainlineBranch - i think it's better way :)<br>
This repository was initially cloned from SVN with default branch
name explicitly specified.</p></div>Alextag:support.hglabhq.com,2012-10-18:Comment/281517352013-08-09T08:31:17Z2013-08-09T08:31:17ZSequence contains no elements error while browsing repository<div><p>Alex,</p>
<p>Either will do. That's already fixed and will be available in
the upcoming<br>
release.</p></div>Anton Gogolev