Review of a new extension (hg remap) that I am working on

Greg Ward greg-hg at gerg.ca
Mon Jun 14 13:44:34 UTC 2010


On Mon, Jun 14, 2010 at 9:16 AM, Didly Bom <didlybom at gmail.com> wrote:
> I found this to be a good idea, and I though that this may be an easy thing
> to implement as a mercurial extension. So I've been thinking about this for
> a while, trying to imagine what such an extension should do and how it could
> work. This week-end I had some spare time and decided to try to start a
> little extension that would implement this idea. I've tentativelly called it
> "remap" since the idea is that you can "remap" version tracked files into
> non version tracked files.
>
> So I'd like to ask anybody who is interested in this to review the way I
> think the extension should work and also help me make sure that I make the
> extension properly, following recommended practices for mercurial
> extensions.
>
> My basic  idea is to have the user create a file named ".hgremap".

Sounds reasonable, but I don't see a burning need for this to be a
Mercurial extension.  I suspect most people would just implement a
shell script, or put something in their Makefile or build.xml or
SConscript or whatever-your-build-system-uses.

Greg



More information about the Mercurial mailing list