How to Delete Untracked Files in a Mercurial Repository
Working around Firefox at Mozilla means that you need to get acquainted with mercurial, the version control system that rivals git and svn. Like any tool, hg
(mercurial) can be difficult until you're well versed with it. And if you hg import
a URL that doesn't match up with what's in the repo, you'll get a bunch of *.rej
files that in your directory structure that show up every time you hg status
. Gross.
If you want to start from scratch and remove all those unwanted files, there are two steps. The first step is enabling the purge
extension within your ~/.hgrc
file:
[extensions]
purge=
With the purge
extension available, it's as easy as running hg purge
to get rid of all of the unwanted files:
hg purge
With those unwanted files gone, it's easy to get back to the business of being productive with as few useless obstructions getting in your way!
![Interview with a Pornhub Web Developer]()
Regardless of your stance on pornography, it would be impossible to deny the massive impact the adult website industry has had on pushing the web forward. From pushing the browser's video limits to pushing ads through WebSocket so ad blockers don't detect them, you have...
![Regular Expressions for the Rest of Us]()
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
![WordPress-Style Comment Controls Using MooTools or jQuery]()
WordPress has a nice little effect on the Admin Dashboard where it shows and hides the comment control links when you mouseover and mouseout of the record's container. Here's how to achieve that effect using MooTools or jQuery.
The XHTML
Notice that we place the links into...
![Introducing LazyLoad 2.0]()
While improvements in browsers means more cool APIs for us to play with, it also means we need to maintain existing code. With Firefox 4's release came news that my MooTools LazyLoad plugin was not intercepting image loading -- the images were loading regardless of...