Updated Issue 218 - Several commands don't take --date-format option into account (monotone)

[email protected]
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Hello,

The following issue has been updated:

218 - Several commands don't take --date-format option into account
Project: monotone
Status: New
Reported by: Frédéric Praca
URL: https://code.monotone.ca/p/monotone/issues/218/
Labels:
 Type:Defect
 Priority:Medium

Comments (last first):

# By Frédéric Praca, déc  6, 2012:



 Status: New

# By Frédéric Praca, déc  5, 2012:

Fixed in revision b34d9438297eda705f7e736983e2d7fdce46c394

 Status: Fixed

# By Frédéric Praca, déc  5, 2012:



 Status: Started
 Owner: fredpraca

# By Frédéric Praca, oct 31, 2012:

Well, you'll find attached a dirty patch because I don't really know the whole Monotone architecture. So, it seems to be working but I feel it's dirty workaround ;)

Attachments:
- dirty.patch - 2.09 kB
  https://code.monotone.ca/p/monotone/issues/view/attachment/47/dirty.patch


# By Frédéric Praca, oct 30, 2012:

Steps to reproduce the problem:
-------------------------------

1. Pull the code from monotone repo
2. Run mtn --date-format '%Y-%m-%dT%H:%M:%S%z' automate certs b20a7c199ce2d223b1c86c23467ac9e7df43b2cf
3. or run mtn --date-format '%Y-%m-%dT%H%M%S%z' ls certs b20a7c199ce2d223b1c86c23467ac9e7df43b2cf

Expected result:
----------------
The result should take into account the format provided. In this case, adding the time zone as an offset.

Actual results:
---------------
Adding --date-format option changes nothing to the output.

Output of `mtn version --full`:
-------------------------------
monotone 1.0 (révision de base : a7c3a1d9de1ba7a62c9dd9efee17252234bb502c)
Exécuté sur               : Linux 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
Compilateur C++           : GNU C++ version 4.6.1
Bibliothèque standard C++ : GNU libstdc++ version 20111019
Version de Boost          : 1_46_1
Version de SQLite         : 3.7.9 (compilé avec 3.7.7)
Version de Lua            : Lua 5.1
Version de PCRE           : 8.12 2011-01-15 (compilé avec 8.12)
Version de Botan          : 1.8.13 (compilé avec 1.8.13)
Changements depuis la rev. de base :
format_version "1"

new_manifest [b252820fde344fd3f5d023fd91de86522baa671d]

old_revision [a7c3a1d9de1ba7a62c9dd9efee17252234bb502c]

  Generated from data cached in the distribution;
  further changes may have been made.



--
Issue: https://code.monotone.ca/p/monotone/issues/218/

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.