The "Cool uses for Hg" Thread
Taavi Burns
taavi.burns at gmail.com
Mon Sep 29 15:11:05 CDT 2008
On Mon, Sep 29, 2008 at 2:20 PM, Ken Cavanaugh <Ken.Cavanaugh at sun.com> wrote:
> Yes, that is a nice usage. I've been doing the same thing with a MoinMoin
> wiki for a couple of years. I have a private wiki on my home network,
> and I sometimes need to copy it to my laptop when I am away from home.
> This gives not just backup but also sync for disconnected usage.
I've just recently started using hg to manage my customised MediaWiki
install. I have some extra non-stock access controls and the like
which exist outside of the sanctioned config files. Now I just:
1. clone the repo
2. update to the last mediawiki import
3. delete all working copy files
4. untar new mediawiki
5. commit
6. merge heads
So I have two streams of changesets; one that's strictly a set of
snapshots of mediawiki through its versions, and one that's the same,
plus my local changes. This makes it trivial to see how my changes
apply to any given version of mediawiki, and save me from having to
manage that patching process.
It might even make more sense for me to use MQ for the local changes,
but I'm happy that it works nicely with native hg, too. :)
--
taa
/*eof*/
More information about the Mercurial
mailing list