vcprompt

log

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