vcprompt

log

age author description
8 months Greg Ward Add test for Subversion XML-format entries file. Fix bugs uncovered.default tip
8 months Greg Ward svn: do not ignore EOF in .svn/entries file.
8 months Jannis Leidel Add Subversion support (limited to showing current revision).
8 months Greg Ward Add %r format specified to show current revision.
9 months Greg Ward Compile with -O2 to get warnings about unused results.
9 months Daniel Serpell Handle errors in chdir.
9 months Greg Ward Add test for failing chdir("..").
9 months Greg Ward Add tests for %n format spec.
9 months Daniel Serpell Add a new format spec (%n) for the name of the detected VC system.
10 months Greg Ward Make test script not depend on default format string.
10 months Greg Ward Add parse_args(), so caller can pass a format string (or debug flag).
10 months Greg Ward Simplify the probe algorithm a bit: just assume we're always going to
10 months Greg Ward Improve reporting of test success/failure.
10 months Greg Ward More test tweaks.
10 months Greg Ward If .git/HEAD or .hg/branch not readable, assume not in a git/hg repo.
10 months Greg Ward Beef up tests.
10 months Greg Ward Fix git/hg support by walking up the directory tree
10 months Greg Ward Add tests for git (reveals that git support is broken like hg support).
10 months Greg Ward Add a simple test script: just tests "print current branch".
10 months Greg Ward Ignore the vcprompt executable.
10 months Greg Ward Use a format string for the output so it works better in non-VC dir.
10 months Greg Ward Add a little README.
10 months Greg Ward Run in non-debug mode.
10 months Greg Ward Remove cruft.
10 months Greg Ward Factor out struct vccontext_t: oooh, object-oriented C.
10 months Greg Ward Add Mercurial (hg) support: again, only shows current branch.
10 months Greg Ward Add git support (current branch only, as with CVS support).
10 months Greg Ward Factor out read_first_line().
10 months Greg Ward Stop passing options object around: make it a static global in common.c.
10 months Greg Ward Factor out isdir().
10 months Greg Ward Initial working version. Only supports CVS (current branch).