Custom repo munger

dorian taylor dorian.taylor.lists at gmail.com
Fri Jan 29 17:42:59 CST 2010


I'm looking to write a script that does the following:

* scan certain files in a repository (over each revision)
* filter their contents
* rename them if applicable
* replay the results into a new repository
* with original timestamps, commit messages, etc.

I've already written something to pull and filter the files, and I
know that picking certain files and renaming them can be done with the
convert extension. So the question is, how do I pass them through a
filter on the way to the new repository? Can I ghetto-rig it or do I
need to write a custom tool? In either case, are there examples
floating around?

Cheers!

-- 
Dorian Taylor
http://doriantaylor.com/


More information about the Mercurial mailing list