3 ms·
I probably should have phrased this more clearly: I think that a python interface (or any other high level script interface) is the more convenient way for a p
by wirrbel 13y ago
I probably should have phrased this more clearly: I think that a python interface (or any other high level script interface) is the more convenient way for a programmer to extend or write hooks/extend the dcvs (I am now thinking about pre commit or post commit hooks in git, etc.).
Any first hand experiences with this?
- jordigh 13y agoSure. Here is a silly example that adds a lol() revset to Mercurial that fetches all prime revision numbers: http://inversethought.com/hg/revset/file/2ddbf1893f3b/lol.py http://inversethought.com/hg/revset/file/2ddbf1893f3b/lol.py