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!
My trip to Mozilla Summit 2013 was incredible. I've spent so much time focusing on my project that I had lost sight of all of the great work Mozillians were putting out. MozSummit provided the perfect reminder of how brilliant my colleagues are and how much...
Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS. What we end up doing is repeating the same properties multiple times with each browser prefix. Yuck. Another thing we...
Overflow with text is always a big issue, especially in a programmatic environment. There's always only so much space but variable content to add into that space. I was recently working on a table for displaying user information and noticed that longer strings were...
How many times are you putting together a HTML navigation block or utility block of elements that you wish could be seen everywhere on a page? I've created a solution that will seamlessly allow you to do so: ScrollSidebar. ScrollSidebar allows you...