Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was searching for convenient incremental snapshot & rollback & show-what-changed solution for my OS X boxes, and ended with simple yet powerful idea — why not create Mercurial repository at the root fs of freshly installed OS, configure exclusions not to keep track of /tmp (/var/tmp, /var/folders/whatever/T etc), /dev, /proc and /sys (and maybe something else), and do commits each time I want to get snapshot? I could even mount /.hg to be somewhere on NAS, so I could restore even if my HDD will suddenly die.

Searching for similar ideas on the internet revealed that Mercurial does not keep track of metadata, like UNIX rights, user and group ownership and extended attributes.

So my question is — are there existing plugins for Mercurial to keep track of metadata, or I'm welcomed to write them myself?

share|improve this question
Could be useful… – Dan R Oct 23 '13 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.