Commits

Author Commit Message Labels Comments Date
Yuya Nishihara
hg: now mq patch name is shown alongside nodeid
Yuya Nishihara
hg: add put_nodeid() method for preparation of merging mq with nodeid
Yuya Nishihara
hg: changed order of update_mq_info() and update_nodeid() Prepared for merging update_mq_info() to update_nodeid().
Yuya Nishihara
reduced the number of calling strlen Compiler's optimization does not work for it according to KOIE Hidetaka <hide@koie.org>. Thanks pointing out it.
Yuya Nishihara
configured CFLAGS to display more warnings also fixed comparison between signed and unsigned. Ideas from KOIE Hidetaka <hide@koie.org>. Thanks!
Yuya Nishihara
tests: added test case for `vcprompt -h`,
koie
added command help
Yuya Nishihara
tests: added test case for VCPROMPT_FORMAT env var
koie
now format can be specified by env var, VCPROMPT_FORMAT
Yuya Nishihara
hg: don't show initial *null* nodeid
Yuya Nishihara
hg: now shows node id for %r
Yuya Nishihara
dump_hex: utility func to dump data as hex string
Yuya Nishihara
read_file: utility func to read max n bytes from file
Yuya Nishihara
hg: added support for bookmarks A bookmark name takes precedence of a branch name, because it seems more informative.
Yuya Nishihara
hg: added support for MQ patch A patch name is treated as a revision, because it's like a tag, which can be handled as a revision on Mercurial.
Yuya Nishihara
Added read_last_line for upcoming MQ (Mercurial Queue) support
Yuya Nishihara
hg: now assumes "default" branch if .hg/branch file not exist Mercurial 1.4 seems not create it by default.
Greg Ward
Add test for Subversion XML-format entries file. Fix bugs uncovered.
Greg Ward
svn: do not ignore EOF in .svn/entries file. Add corresponding test case with truncated entries. Factor out chop_newline().
Jannis Leidel
Add Subversion support (limited to showing current revision).
Greg Ward
Add %r format specified to show current revision. (Currently not implemented for any VC system, but hopefully coming soon in Subversion support.)
Greg Ward
Compile with -O2 to get warnings about unused results.
dserpell
Handle errors in chdir.
Greg Ward
Add test for failing chdir("..").
Greg Ward
Add tests for %n format spec.
dserpell
Add a new format spec (%n) for the name of the detected VC system.
Greg Ward
Make test script not depend on default format string.
Greg Ward
Add parse_args(), so caller can pass a format string (or debug flag).
Greg Ward
Simplify the probe algorithm a bit: just assume we're always going to walk up the directory tree.
Greg Ward
Improve reporting of test success/failure.
  1. Prev
  2. Next