vcprompt

log

age author description
6 months ago Yuya Nishihara reduced the number of calling strlendefault tip
6 months ago Yuya Nishihara configured CFLAGS to display more warnings
6 months ago Yuya Nishihara tests: added test case for `vcprompt -h`,
6 months ago KOIE Hidetaka added command help
6 months ago Yuya Nishihara tests: added test case for VCPROMPT_FORMAT env var
6 months ago KOIE Hidetaka now format can be specified by env var, VCPROMPT_FORMAT
6 months ago Yuya Nishihara hg: don't show initial *null* nodeid
6 months ago Yuya Nishihara hg: now shows node id for %r
7 months ago Yuya Nishihara dump_hex: utility func to dump data as hex string
7 months ago Yuya Nishihara read_file: utility func to read max n bytes from file
7 months ago Yuya Nishihara hg: added support for bookmarks
7 months ago Yuya Nishihara hg: added support for MQ patch
7 months ago Yuya Nishihara Added read_last_line for upcoming MQ (Mercurial Queue) support
7 months ago Yuya Nishihara hg: now assumes "default" branch if .hg/branch file not exist
15 months ago Greg Ward Add test for Subversion XML-format entries file. Fix bugs uncovered.
15 months ago Greg Ward svn: do not ignore EOF in .svn/entries file.
15 months ago Jannis Leidel Add Subversion support (limited to showing current revision).
15 months ago Greg Ward Add %r format specified to show current revision.
16 months ago Greg Ward Compile with -O2 to get warnings about unused results.
16 months ago Daniel Serpell Handle errors in chdir.
16 months ago Greg Ward Add test for failing chdir("..").
16 months ago Greg Ward Add tests for %n format spec.
16 months ago Daniel Serpell Add a new format spec (%n) for the name of the detected VC system.
16 months ago Greg Ward Make test script not depend on default format string.
16 months ago Greg Ward Add parse_args(), so caller can pass a format string (or debug flag).
16 months ago Greg Ward Simplify the probe algorithm a bit: just assume we're always going to
16 months ago Greg Ward Improve reporting of test success/failure.
16 months ago Greg Ward More test tweaks.
16 months ago Greg Ward If .git/HEAD or .hg/branch not readable, assume not in a git/hg repo.
16 months ago Greg Ward Beef up tests.
16 months ago Greg Ward Fix git/hg support by walking up the directory tree
16 months ago Greg Ward Add tests for git (reveals that git support is broken like hg support).
16 months ago Greg Ward Add a simple test script: just tests "print current branch".
16 months ago Greg Ward Ignore the vcprompt executable.
16 months ago Greg Ward Use a format string for the output so it works better in non-VC dir.
16 months ago Greg Ward Add a little README.
16 months ago Greg Ward Run in non-debug mode.
16 months ago Greg Ward Remove cruft.
16 months ago Greg Ward Factor out struct vccontext_t: oooh, object-oriented C.
17 months ago Greg Ward Add Mercurial (hg) support: again, only shows current branch.
17 months ago Greg Ward Add git support (current branch only, as with CVS support).
17 months ago Greg Ward Factor out read_first_line().
17 months ago Greg Ward Stop passing options object around: make it a static global in common.c.
17 months ago Greg Ward Factor out isdir().
17 months ago Greg Ward Initial working version. Only supports CVS (current branch).