monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] [bug #30150] annotate broken for files with revisions s


From: 4get
Subject: [Monotone-devel] [bug #30150] annotate broken for files with revisions signed by disliked signers
Date: Wed, 16 Jun 2010 06:30:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6pre) Gecko/20100613 Namoroka/3.6.6pre

URL:
  <http://savannah.nongnu.org/bugs/?30150>

                 Summary: annotate broken for files with revisions signed by
disliked signers
                 Project: monotone
            Submitted by: forget
            Submitted on: Wed 16 Jun 2010 06:30:37 AM GMT
                Category: command line UI
                Severity: 3 - Normal
              Item Group: incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
      mtn version --full: mtn-0.48

    _______________________________________________________

Details:


mtn annotate fails with error message "misuse: unrecognized date (monotone
only understands ISO 8601 format)" when trying to dump revisions signed by
signers that are not on the trusted list.

Also revisions before 758da9215e79f1580611a92853def8e5430e00a5 were broken in
a nonfatal way - mtn just printed empty strings in <author> and <date>
fields.

Bug location: 
 annotate.cc / build_revisions_to_annotations(..)

Bug sequence: 
 project.db.erase_bogus_certs(..) kills untrusted certificates, 
 cert_date_value(..) fails to locate untrusted certificate and tries to
format an empty timestamp string.

Steps to reproduce:

1) setup monotonerc with the following trust list
http://www.i2p2.de/license-agreements.html 
2) mtn --db=i2p.mtn db init
3) mtn --db=i2p.mtn pull mtn.i2p-projekt.de i2p.i2p
4) mtn --db=i2p.mtn --branch=i2p.i2p checkout
5) cd i2p.i2p
6) mtn annotate apps/routerconsole/locale/messages_de.po

mtn would warn about 1 disliked signer on revision
136dff2bda139907eb30f0ec7d7bba09313bc829
and fail with "misuse: unrecognized date (monotone only understands ISO 8601
format)"






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?30150>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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