Mercurial > hg
view tests/test-hgrc @ 6115:8121e9d7bfd2
keyword: make main class and hg command accessible
Switch from global vars to top level dictionary.
Goal: make it easier for external tools (like tortoisehg)
to hook into keyword extension.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Fri, 15 Feb 2008 18:36:28 +0100 |
parents | 7a7d4937272b |
children | e51c0f41f271 |
line wrap: on
line source
#!/bin/sh mkdir t cd t hg init echo "invalid" > .hg/hgrc hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"