Peter Memishian wrote:
> I think I know the answer to this, but:
>
> how do I run xref in an hg repository?
Good question -- I haven't explored it. Most of xref's dependencies are
on the ON Makefile design and contents, rather than on TeamWare. However:
1. It uses a few TeamWare commands and environment variables to
determine the active workspace. Setting CODEMGR_WS to the root of
the tree should workaround this code.
2. It uses TeamWare's FLG mechanism to figure out what other files
that are not under the current directory should be pulled into the
cross-references. (Does Mercurial have the concept of FLGs?)
Use of this mechanism can be turned off with -f.
So, as a hackaround, I'd think it would mostly work if you set CODEMGR_WS
to the root of the hg tree and use the -f flag.
well, I can't run ws, and I need to set some env vars that ws normally would set
(or xref would if it could run workspace and get a workspace name). Maybe SRC
is enough. And maybe MACH. And, um...
_______________________________________________
tools-discuss mailing list
[email protected]