monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision a8147b11ee2d598835a4e1cec0e9782e4388e6


From: monotone
Subject: [Monotone-commits-diffs] Revision a8147b11ee2d598835a4e1cec0e9782e4388e679
Date: Mon, 14 Jun 2010 20:20:06 +0200

-----------------------------------------------------------------
Revision: a8147b11ee2d598835a4e1cec0e9782e4388e679
Ancestor: 86ecfdd528efce61435b22c9778f3366ca6b26c4
Author: address@hidden
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.

Attachment: txtcY9RX6TOPC.txt
Description: Diff [86ecfdd528efce61435b22c9778f3366ca6b26c4] -> [a8147b11ee2d598835a4e1cec0e9782e4388e679]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]