Why is mercurial hanging during adding file changes?

So, I was opening a new project in mercurial that had a bit of a history.  I ran the normal:

hg clone ssh://hg@bitbucket.org/mycompany/somerepository

Which has worked pretty fast on the smaller repositories that I've cloned.  THIS time, it got to "adding file changes" .... and stopped.  The thing appeared totally hung, for at least the 10 minutes that I waited.  I cancelled it, and tried again. No luck.  So, after some searching, I came upon the debug command, which looks like this:

hg --debug clone ssh://hg@bitbucket.org/Mycompany/Somerepository

The result?  

files: 891:4346 chunks (1.50%)
adding lib/AutoMapper/Automapper.dll revisions
files: 892:4346 chunks (1.51%)
adding lib/FluentNHibernate/Antlr3.Runtime.dll revisions 
(etc... a LOT... 4346 times, actually)


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's doing and where it's up to if it's going to take a long time.



Posted 08-11-2011 4:35 PM by Anne Epstein
Filed under: ,



Pedro Reys wrote re: Why is mercurial hanging during adding file changes?
on 08-11-2011 6:20 PM

Don't know if you've done this already, but hg by default does not use ssh compression. I have an alias on my .hgrc to make force it:

ssh = ssh -C

Chris Sutton wrote re: Why is mercurial hanging during adding file changes?
on 08-12-2011 9:59 AM

--debug will give you plenty of information, probably more than you want.

I'd recommend that you just enable the progress extension if you want an nice in between amount of status information about your clone operation.

In the [extensions] section of your mercurial.ini just add 'progress = ' and you'll get more progress information so larger operations don't get mistaken for being hung.

Anne Epstein wrote re: Why is mercurial hanging during adding file changes?
on 08-15-2011 10:12 AM

Thanks, this is good stuff!  Everyone else,make both of these config changes...they're exactly the kind of stuff that'll make your day better. (wish I'd known about them a few days ago....)

Jean Ventura wrote re: Why is mercurial hanging during adding file changes?
on 09-29-2013 2:29 PM

Chris Sutton suggestion nailed it. In the end, I was just getting impatient cause my internet connection was slow.

matt crorkz wrote re: Why is mercurial hanging during adding file changes?
on 01-16-2015 9:47 PM

TLggM6 Great site. Plenty of useful information here. I'm sending it to several friends ans also sharing in delicious. And of course, thanks for your effort!

Gucci 141863 shoulder bag Red - $169.00 : Gucci outlet stores, ipod-computer-transfer.net wrote re: Why is mercurial hanging during adding file changes?
on 02-10-2015 8:50 AM

ften provide the inspiration for the colours within your patriotic model invite for the special day if you're undecided.

It is worth researching a few of the other Celtic marriage ceremony customs before deciding on the very last design in addition to content of the unique cards for the big event.Any wedding day invitation is intended to give the guests a good feel for which kind of event the big event will probably be.Perhaps you need to include some Gaelic script, or include the Celtic knots to the perfect Scotch nuptuals invitations.You could also want to continue the form of your Scottish marriage invitation to the Order about Service for ones ceremony on its own, menus plus place cards for that reception as well as thank anyone cards for your guests.The internet is a good place to begin with if you are searching for inspiration to produce your best Scottish wedding and reception invitation.

<title>Gucci 141863 shoulder bag Red - $169.00 : Gucci outlet stores, ipod-computer-transfer.net</

michal benz wrote re: Why is mercurial hanging during adding file changes?
on 03-02-2015 1:52 PM

wlQYKp I really like what you guys tend to be up too. This sort of clever work and coverage! Keep up the wonderful works guys I've added you guys to my own blogroll.

nick crorkzz wrote re: Why is mercurial hanging during adding file changes?
on 04-08-2015 9:02 PM

mPmoiS fantastic post, very informative. I wonder why the other specialists of this sector do not notice this. You must continue your writing. I'm confident, you've a great readers' base already!

Swarovski Bracelets wrote re: Why is mercurial hanging during adding file changes?
on 07-03-2015 12:50 PM

l need planning.

These are simply the start of questions towards ask.Although a home business opportunity is most effective earn money from home, you want to be assured that you're most likely well ready and covered from generating unwise actions.There usually are many sites who've a variety of information for the thinking in regards to a home business opportunity.

What will you do in a work-at-home business? Here are really a few concepts:

Your animals:If a person like animals, there are a lot of different direct sales opportunity ideas looking at ranging from gaining poop (yes, sanctioned successful business for those who can achieve it! ), having cute doggie accessories, doggie photography, pet-sitting, doggie walking, doggie day maintenance (usually dogs) and additionally making flavorful pet premium treats in addition to meals.There is even a great deal more; if this unique are that appeals to you check out some are more pet home business opportunity ideas on-line.

Precious jewelry Making:Don't be silversmith at the moment to have a jewelry business opportunity.Today's model of customizable necklaces not to mention bracelets through beads, papier mache, in addition to baked funds means you just need inventive talent and patience.Look for some sepcialist craft stores, markets and additionally fetes where you should sell your wares, or possibly promote with friends and at-home occasions.

Illustrating Skills:Even for everybody who is not a registered teacher you'll have a experience that others plan to learn with you for example computer competencies, how to make sure you play an instrument, art and craft proficiency.If you're deliberating working with children you must determining legal requirements are expected before you embark on this home based opportunity.

Earnings:If you're someone with health and exercise expertise then you could join numerous personal cross trainers running the businesses from your own home.You'll need the equipment, of tutorial, and the knowledge to assure clients' protection but this home business opportunity provides private or set tuition people who prefer to never join your gym.

These are just one or two on the home business opportunity list.Include in these; impression framing, painting like a pro artwork, pottery, T-shirt style designs, notes search, and you'll a overall look of the wide range of opportunities available.

Always do your homework thoroughly before commencing so that you are well prepared and you ought to be on your way to a new lifestyle workingfrom your home!

In summary:

There are a number home career advancement for those ready take the plunge and seize control for your earnings.Away from many attainable, what would definitely suit a person and come to a decision know if you're ready to begin the process?

<meta http-equiv="Content-Type" content="text/html; charset=UT

best young pron wrote re: Why is mercurial hanging during adding file changes?
on 10-14-2016 5:05 AM

mMC2yp Some really   select  content  on this  site,  saved to bookmarks.

Add a Comment

Remember Me?

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)