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!
How is it possible that JavaScript-based animation has secretly always been as fast — or faster — than CSS transitions? And, how is it possible that Adobe and Google consistently release media-rich mobile sites that rival the performance of native apps?
This article serves as a point-by-point...
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
One of the sweet user interface enhancements provided by Apple's iPhone is their checkbox-slider functionality. Thomas Reynolds recently released a jQuery plugin that allows you to make your checkboxes look like iPhone sliders. Here's how to implement that functionality using the beloved...
Last time posting here I taught you how to change text-size with JavaScript. The problem with using the solution I presented as Ian Lloyd pointed out:
Increase the font size, follow a link to another web page on same site and … back...