-----------------------------------------------------------------
Revision: a8147b11ee2d598835a4e1cec0e9782e4388e679
Ancestor: 86ecfdd528efce61435b22c9778f3366ca6b26c4
Author: [email protected]
Date: 2010-05-22 17.03.15
Branch: net.venge.monotone
Added files:
unix/parse_time.cc win32/parse_time.cc
Modified files:
Makefile.am cmd_ws_commit.cc dates.cc platform.hh
tests/branch_leaves_sync_bug/__driver__.lua
tests/commit_default_editor/__driver__.lua
unit-tests/dates.cc
ChangeLog:
work around absence of strptime on Win32
* Makefile.am (UNIX_PLATFORM_SOURCES, WIN32_PLATFORM_SOURCES): add
parse_time.cc
* cmd_ws_commit.cc (date_fmt_valid): factor out from commit, status.
(get_log_message_interactively): move check of valid date_fmt from
commit to here, where it is actually needed.
(CMD(status)): use new date_fmt_valid
* dates.cc: move strptime to platform.hh, as parse_date.
* platform.hh: new parse_date
* tests/branch_leaves_sync_bug/__driver__.lua: skip if Windows; sync
file: doesn't work there.
* tests/commit_default_editor/__driver__.lua: test bad --date-format
* unit-tests/dates.cc: on WIN32, skip format tests that require strptime
* unix/parse_time.cc: New file.
* win32/parse_time.cc: New file.
monotone --db={your.database} diff
--revision=86ecfdd528efce61435b22c9778f3366ca6b26c4
--revision=a8147b11ee2d598835a4e1cec0e9782e4388e679
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs