In August 2019, BitBucket – a popular cloud source code hosting and project management service run by Atlassian – announced that it was dropping support for Mercurial repositories. Mercurial is a distributed source control management tool similar to, but less popular than Git.
This move isn’t surprising. Mercurial has lost the popularity war with Git and BitBucket claims that less than 1% of new repositories on their service use Mercurial. The surprising thing is that BitBucket announced that they are deleting Mercurial repositories from their service as of June 2020. Leaving developers and companies who use Mercurial with less than one year to migrate.
This move by BitBucket seems inevitable, but the timeline and hard-deletion that BitBucket is giving their loyal customers seems harsh. For me, I have around 25 projects that need to be migrated.
Here’s how to do so, in a few easy steps!
Continue reading “Migrating Mercurial Repos To Git”


There are a surprising number of PHP and web development podcasts available to us, which is a great sign of the language’s popularity and passionate developers. Podcasts are nice because they allow us to keep current and learn while on the go. My preference is listening to them while doing chores, turning otherwise boring time into a chance to improve my technical knowledge. Over the last year I’ve listened to several podcasts specifically about PHP and web development, and here are the ones I’ve been following:
I maintain and work on a number of legacy code applications. One of them has earned itself some refactoring. So I’ll try to share some of the changes I’ve been making to improve it. Today, a problem that’s bothered me for a while: the DB class connects to the database even if no queries are being used.