Commits

Author Commit Message Labels Comments Date
Gregg Lind
`-t timeout`; fix #4, alternative solution re #2. Adds new flag `-t timeout milliseconds`, to stop long-running vcprompt invocatoins. `vcprompt -t 20` is recommended usage. TODO: * respect -f in how the result should printed on a timeout job.
Greg Ward
fossil: cosmetic/style tweaks
Greg Ward
fossil: update comments
Greg Ward
git: use capture_child() instead of system().
Greg Ward
capture: clarify docs
Greg Ward
Makefile: run fossil test
Greg Ward
fossil: use capture_child() instead of popen() and system()
Greg Ward
capture: add capture_failed() (currently disabled and unused)
Greg Ward
capture: distinguish exit status from signal
Greg Ward
Add capture_child() to replace use of system() and popen().
Jordi Fita
Added tests for fossil support.
Jordi Fita
Fossil: look for the ‘.fslckout’ file used in unix since [432306beca]
Yuya Nishihara
hg: don't always fail to read patches.queue file Since 'status_filename' did not have enough space, read_first_line() never succeeded. Even worse, the test case did not fail because patches/status and patches-foo/status are the same.
Greg Ward
hg: rename a function; misc cosmetic changes.
Greg Ward
tests: take advantage of new die function in common.sh.
Greg Ward
Add test-hg for tests that can run and use a real hg.
Greg Ward
Document need for GNU make.
Greg Ward
Fix inaccurate comment.
Greg Ward
common: change get_till_eol() to just copy nchars if there is no newline. This is more consistent and much simpler to implement.
Yuya Nishihara
makefile: fix incompatibility with BSD install install -t is a GNU extension. Thanks to Ian Alexander Wood.
Greg Ward
Document most of the functions in common.c.
Greg Ward
Move get_till_eol() from fossil.c to common.c and document it.
Greg Ward
fossil: fix potential use of uninitialized string. If 'fossil status' forgets to print a newline after "tags:", then get_till_eol() would simply not bother to copy any bytes into dest, which is an uninitialized char array (random junk). Fix by always terminating dest -- make it an empty string if no newline in src.
Greg Ward
fossil: fix buffer overflow. If fossil prints >= 2048 bytes, fread() would have read all of them and filled up buf. Then passing that buf to strbuf() is bad news, since strbuf() expects a NUL-terminated string. Fix by reading at most 2047 bytes and terminating the string.
Greg Ward
fossil: remove an unnecessary else clause (reduce indentation).
Greg Ward
fossil: fix style: wrap comments, whitespace, line breaks.
Jan Spakula
Add support for fossil. It's not ideal in that it calls the 'fossil' binary even for basic info; but since fossil stores all info in sqlite databases, the only other options were either to link against some sqlite library or implement basic sqlite support. I didn't want to do any of these; moreover, 'fossil' binary is relatively small and only links against basic libs.
Yuya Nishihara
hg: add support for multiple patch queues, introduced in Mercurial 1.6.
Greg Ward
setup-git: better way to set author (and committer too).
Greg Ward
setup-git: set author explicitly when committing
  1. Prev
  2. Next