<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://devlicio.us/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Anne Epstein : hg</title><link>http://devlicio.us/blogs/anne_epstein/archive/tags/hg/default.aspx</link><description>Tags: hg</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>Why is mercurial hanging during adding file changes?</title><link>http://devlicio.us/blogs/anne_epstein/archive/2011/08/11/why-is-mercurial-hanging-during-adding-file-changes.aspx</link><pubDate>Thu, 11 Aug 2011 21:35:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:68091</guid><dc:creator>Anne Epstein</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/anne_epstein/rsscomments.aspx?PostID=68091</wfw:commentRss><comments>http://devlicio.us/blogs/anne_epstein/archive/2011/08/11/why-is-mercurial-hanging-during-adding-file-changes.aspx#comments</comments><description>&lt;p&gt;So, I was opening a new project in mercurial that had a bit of a history. &amp;nbsp;I ran the normal:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;hg clone ssh://hg@bitbucket.org/mycompany/somerepository&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Which has worked pretty fast on the smaller repositories that I&amp;#39;ve cloned. &amp;nbsp;THIS time, it got to &amp;quot;adding file changes&amp;quot; .... and stopped. &amp;nbsp;The thing appeared totally hung, for at least the 10 minutes that I waited. &amp;nbsp;I cancelled it, and tried again. No luck. &amp;nbsp;So, after some searching, I came upon the debug command, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;hg --debug clone ssh://hg@bitbucket.org/Mycompany/Somerepository&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The result? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;files: 891:4346 chunks (1.50%)&lt;br /&gt;adding lib/AutoMapper/Automapper.dll revisions&lt;br /&gt;files: 892:4346 chunks (1.51%)&lt;br /&gt;adding lib/FluentNHibernate/Antlr3.Runtime.dll revisions&amp;nbsp;&lt;br /&gt;(etc... a LOT... 4346 times, actually)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Turns out that the problem was just that there were a lot of revisions of everything, and it was all just taking a while. Oops, I probably should have waited instead of restarting it, I would have been 10 minutes further along. But at least with the debug switch now, I know what it&amp;#39;s doing and where it&amp;#39;s up to if it&amp;#39;s going to take a long time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=68091" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/anne_epstein/archive/tags/mercurial/default.aspx">mercurial</category><category domain="http://devlicio.us/blogs/anne_epstein/archive/tags/hg/default.aspx">hg</category></item></channel></rss>