Archive for June, 2010

Configure Mercurial (hg) to Use a Proxy Server

My laptop is behind our corporate firewall for most of the day, so being able to do an hg push/pull against bitbucket.org fails because it isn’t hitting or proxy server. To setup Mercurial to use a proxy server, edit your hrgc file in the .hg folder of your repository and add this section: [http_proxy] host [...]

Why is my .hgignore not ignoring?

After almost an hour of tweaking my .hgignore file trying to figure out why it was not, in fact, ignoring ANY of the file types and folders I told it to, I discovered that .hgignore should be in the root of the repository, not in the .hg folder. I suppose this makes sense if you [...]

My First Week with Mercurial (hg)

I haven’t completely disrupted my programming life in a couple of days now, so I have decided to make the switch from Subversion to Mercurial for my personal source control needs. Don’t worry TFS, you are still my number one choice for partially solving my professional source control needs. There is nothing really driving my [...]

Adding the NHibernate Schema Files to Visual Studio 2010

Since I can never remember the steps on how to do do this, if you need to add the Schema Definition files (.xsd) from NHibernate to Visual Studio 2010, here are the steps you need to follow: Download the latest version of NHibernate Copy nhibernate-configuration.xsd and nhibernate-mappng.xsd to C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas\ Restart Visual [...]