vcprompt prints a short string,
to be included in your shell prompt,
with barebones
information about the current working directory for various version control systems.
It is designed to be small and lightweight rather than comprehensive.
It has varying degrees of recognition for Mercurial,
Git,
Subversion,
CVS,
and
Fossil working copies.