# HG changeset patch # User Dmitriy Morozov # Date 1199598998 18000 # Node ID 8bf7b97035f186919bacf37e6ebb3942c8e6084b # Parent 5319c712fa348b9018603b7ceb840e05da39480b Added date parsing bug (c56), and a pseudo-fix diff -r 5319c712fa34 -r 8bf7b97035f1 .issues/c568146d3275c22b --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.issues/c568146d3275c22b Sun Jan 06 00:56:38 2008 -0500 @@ -0,0 +1,2441 @@ +From mirko@friedenhagen.de Fri Jan 4 18:31:44 2008 +Return-Path: +X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on one.cs.duke.edu +X-Spam-Level: +X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40 autolearn=ham + version=3.2.2 +Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) + by one.cs.duke.edu (8.14.0/8.14.0) with ESMTP id m04NVf7J019792 + for ; Fri, 4 Jan 2008 18:31:43 -0500 (EST) +Received: from borg.local (HSI-KBW-085-216-123-176.hsi.kabelbw.de [85.216.123.176]) + by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) + id 0MKwtQ-1JAw0l1aId-0006EP; Sat, 05 Jan 2008 00:31:35 +0100 +Message-Id: +From: Mirko Friedenhagen +To: Dmitriy Morozov +Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes +Content-Transfer-Encoding: 7bit +Mime-Version: 1.0 (Apple Message framework v915) +Subject: hg ishow fails in clone of Artemis-repo +Date: Sat, 5 Jan 2008 00:31:27 +0100 +State: new +X-Mailer: Apple Mail (2.915) +X-Provags-ID: V01U2FsdGVkX1/JysvjyYiL3YHLT6W7yfO6FZ1JMB6PepAft/b + jnXeHpRbt2ZogH7u/u+9jEuj7D5SulS51Scfvx4LgDgb4pctZs + sbaVxmR5TQar5n7qj9MGA== +Status: RO +X-Status: A +Content-Length: 1180 +Lines: 35 + +Hello Dmitriy, + +first of all let me thank you for this extension, I have the feeling +that it might be really useful. + +I have one issue with the clone, "hg ilist" will abort, "hg ishow" +does not have any problems: + +[mirko@borg Artemis]$ hg log -l1 +changeset: 9:5319c712fa34 +tag: tip +user: Dmitriy Morozov +date: Sun Dec 30 09:23:23 2007 -0500 +summary: Fixed Message-Ids of our bugs (wrapped them in <...>) + +[mirko@borg Artemis]$ hg ilist +abort: invalid date: 'Sat, 29 Dec 2007 02:50:26 EST' + +[mirko@borg Artemis]$ grep -r 'Sat, 29 Dec 2007 02:50:26 EST' .issues/ +.issues/95536ae767c2743a:Date: Sat, 29 Dec 2007 02:50:26 EST + +[mirko@borg Artemis]$ hg ishow 95536ae767c2743a +====================================================================== +From: Dmitriy Morozov +Date: Sat, 29 Dec 2007 02:50:26 EST +Subject: attachments in iadd +State: new + +Add ability to attach files in iadd command. Perhaps use -a flag for +it (allowing multiple attachments). Store as a multipart message. List +all parts of messages in ishow. +---------------------------------------------------------------------- + +Best Regards +Mirko + +From morozov@cs.duke.edu Fri Jan 4 18:34:36 2008 +Date: Fri, 4 Jan 2008 18:34:36 -0500 +From: Dmitriy Morozov +To: Mirko Friedenhagen +Subject: Re: hg ishow fails in clone of Artemis-repo +Message-ID: <20080104233436.GA1930@cs.duke.edu> +References: +Mime-Version: 1.0 +Content-Type: text/plain; charset=koi8-r +Content-Disposition: inline +In-Reply-To: +User-Agent: Mutt/1.4.2.2i +Status: RO +Content-Length: 1475 +Lines: 45 + +Hi, Mirko, + +What version of Python, and more importantly what version of Mercurial +do you have? I have an idea of where the problem is, but I need the +version numbers first. + +Thanks. +Dmitriy + +On Sat, Jan 05, 2008 at 12:31:27AM +0100, Mirko Friedenhagen wrote: +>Hello Dmitriy, +> +>first of all let me thank you for this extension, I have the feeling +>that it might be really useful. +> +>I have one issue with the clone, "hg ilist" will abort, "hg ishow" +>does not have any problems: +> +>[mirko@borg Artemis]$ hg log -l1 +>changeset: 9:5319c712fa34 +>tag: tip +>user: Dmitriy Morozov +>date: Sun Dec 30 09:23:23 2007 -0500 +>summary: Fixed Message-Ids of our bugs (wrapped them in <...>) +> +>[mirko@borg Artemis]$ hg ilist +>abort: invalid date: 'Sat, 29 Dec 2007 02:50:26 EST' +> +>[mirko@borg Artemis]$ grep -r 'Sat, 29 Dec 2007 02:50:26 EST' .issues/ +>.issues/95536ae767c2743a:Date: Sat, 29 Dec 2007 02:50:26 EST +> +>[mirko@borg Artemis]$ hg ishow 95536ae767c2743a +>====================================================================== +>From: Dmitriy Morozov +>Date: Sat, 29 Dec 2007 02:50:26 EST +>Subject: attachments in iadd +>State: new +> +>Add ability to attach files in iadd command. Perhaps use -a flag for +>it (allowing multiple attachments). Store as a multipart message. List +>all parts of messages in ishow. +>---------------------------------------------------------------------- +> +>Best Regards +>Mirko + +From mirko@friedenhagen.de Fri Jan 4 18:43:30 2008 +Return-Path: +X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on one.cs.duke.edu +X-Spam-Level: +X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham + version=3.2.2 +Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) + by one.cs.duke.edu (8.14.0/8.14.0) with ESMTP id m04NhTah021156 + for ; Fri, 4 Jan 2008 18:43:29 -0500 (EST) +Received: from borg.local (HSI-KBW-085-216-123-176.hsi.kabelbw.de [85.216.123.176]) + by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) + id 0MKwtQ-1JAwCB2mxq-0006FP; Sat, 05 Jan 2008 00:43:23 +0100 +Message-Id: <312C0172-3EF2-488A-A993-CF56C183F9A0@friedenhagen.de> +From: Mirko Friedenhagen +To: Dmitriy Morozov +In-Reply-To: <20080104233436.GA1930@cs.duke.edu> +Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes +Content-Transfer-Encoding: 7bit +Mime-Version: 1.0 (Apple Message framework v915) +Subject: Re: hg ishow fails in clone of Artemis-repo +Date: Sat, 5 Jan 2008 00:43:23 +0100 +References: <20080104233436.GA1930@cs.duke.edu> +X-Mailer: Apple Mail (2.915) +X-Provags-ID: V01U2FsdGVkX1/lGFmR/n0Vn+KixPR/52KDdWD8RANfnQ68xtl + cTd+HJmbaC+4c1t/CI5zg5HmPAdrPm3n/0v4CF33rUEBuEJFrC + NXyP7mzJQBuNykwAF7tNw== +Status: RO +X-Status: A +Content-Length: 1216 +Lines: 40 + +Am 05.01.2008 um 00:34 schrieb Dmitriy Morozov: + +> Hi, Mirko, +> +> What version of Python, and more importantly what version of Mercurial +> do you have? I have an idea of where the problem is, but I need the +> version numbers first. +> + +Hello Dmitriy, + +now, that's a quick answer ;-). + +I am following mercurial-crew (the second parent are minor adjustments +(git-summary-template, where I include an Link to the hgweb-root)), +but no changes to core. + +[mirko@borg mercurial-crew]$ hg log -l2 +changeset: 5824:1048a5ac25ef +branch: local +tag: tip +parent: 5807:0176986571fe +parent: 5823:d852151fb8d4 +user: Mirko Friedenhagen +date: Fri Jan 04 23:22:08 2008 +0100 +summary: Automated merge with http://hg.intevation.org/mercurial/crew + +changeset: 5823:d852151fb8d4 +user: Bryan O'Sullivan +date: Fri Jan 04 13:56:31 2008 -0800 +summary: util: drop params added during experimentation + +[mirko@borg mercurial-crew]$ python +Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09) +[GCC 4.0.1 (Apple Inc. build 5465)] on darwin +Type "help", "copyright", "credits" or "license" for more information. + >>> + +Best Regards +Mirko + +From morozov@cs.duke.edu Sat Jan 5 07:47:08 2008 +Date: Sat, 5 Jan 2008 07:47:08 -0500 +From: Dmitriy Morozov +To: Mirko Friedenhagen +Subject: Re: hg ishow fails in clone of Artemis-repo +Message-ID: <20080105124708.GA7043@cs.duke.edu> +References: <20080104233436.GA1930@cs.duke.edu> <312C0172-3EF2-488A-A993-CF56C183F9A0@friedenhagen.de> +Mime-Version: 1.0 +Content-Type: text/plain; charset=koi8-r +Content-Disposition: inline +In-Reply-To: <312C0172-3EF2-488A-A993-CF56C183F9A0@friedenhagen.de> +User-Agent: Mutt/1.4.2.2i +Status: RO +Content-Length: 1504 +Lines: 50 + +Hi, Mirko, + +I'm unable to replicate the problem with mercrial/crew. Can you send +me util.py (i.e., mercurial/util.py) from the repository that you are +actually using? + +Thanks. +Dmitriy + +On Sat, Jan 05, 2008 at 12:43:23AM +0100, Mirko Friedenhagen wrote: +>Am 05.01.2008 um 00:34 schrieb Dmitriy Morozov: +> +>>Hi, Mirko, +>> +>>What version of Python, and more importantly what version of Mercurial +>>do you have? I have an idea of where the problem is, but I need the +>>version numbers first. +>> +> +>Hello Dmitriy, +> +>now, that's a quick answer ;-). +> +>I am following mercurial-crew (the second parent are minor adjustments +>(git-summary-template, where I include an Link to the hgweb-root)), +>but no changes to core. +> +>[mirko@borg mercurial-crew]$ hg log -l2 +>changeset: 5824:1048a5ac25ef +>branch: local +>tag: tip +>parent: 5807:0176986571fe +>parent: 5823:d852151fb8d4 +>user: Mirko Friedenhagen +>date: Fri Jan 04 23:22:08 2008 +0100 +>summary: Automated merge with http://hg.intevation.org/mercurial/crew +> +>changeset: 5823:d852151fb8d4 +>user: Bryan O'Sullivan +>date: Fri Jan 04 13:56:31 2008 -0800 +>summary: util: drop params added during experimentation +> +>[mirko@borg mercurial-crew]$ python +>Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09) +>[GCC 4.0.1 (Apple Inc. build 5465)] on darwin +>Type "help", "copyright", "credits" or "license" for more information. +>>>> +> +>Best Regards +>Mirko + +From mirko@friedenhagen.de Sat Jan 5 16:18:09 2008 +Return-Path: +X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on one.cs.duke.edu +X-Spam-Level: +X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_50 autolearn=ham + version=3.2.2 +Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) + by one.cs.duke.edu (8.14.0/8.14.0) with ESMTP id m05LI8r8027688 + for ; Sat, 5 Jan 2008 16:18:08 -0500 (EST) +Received: from borg.local (HSI-KBW-085-216-123-176.hsi.kabelbw.de [85.216.123.176]) + by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) + id 0ML2xA-1JBGP22KSu-0000u0; Sat, 05 Jan 2008 22:18:02 +0100 +Message-Id: <8B223BED-8A46-4129-A4F3-76B50A890874@friedenhagen.de> +From: Mirko Friedenhagen +To: Dmitriy Morozov +In-Reply-To: <20080105124708.GA7043@cs.duke.edu> +Content-Type: multipart/mixed; boundary=Apple-Mail-27-69865486 +Mime-Version: 1.0 (Apple Message framework v915) +Subject: Re: hg ishow fails in clone of Artemis-repo +Date: Sat, 5 Jan 2008 22:18:01 +0100 +References: <20080104233436.GA1930@cs.duke.edu> <312C0172-3EF2-488A-A993-CF56C183F9A0@friedenhagen.de> <20080105124708.GA7043@cs.duke.edu> +X-Mailer: Apple Mail (2.915) +X-Provags-ID: V01U2FsdGVkX18U2SPmtxdIc/97m419K3u6bNHAGoJX7Zg8bRM + nhGQpakEwacktoI+iKEBCOeJWa/w25yyJDtlt4rvwcfLwDf3SB + BTBFcyJEMtRpthNwJH//w== +Status: RO +X-Status: A +Content-Length: 57277 +Lines: 1782 + + +--Apple-Mail-27-69865486 +Content-Type: text/plain; + charset=US-ASCII; + format=flowed; + delsp=yes +Content-Transfer-Encoding: 7bit + +Am 05.01.2008 um 13:47 schrieb Dmitriy Morozov: + +> Hi, Mirko, +> +> I'm unable to replicate the problem with mercrial/crew. Can you send +> me util.py (i.e., mercurial/util.py) from the repository that you are +> actually using? +I did not alter anything in it, see the diff between my local branch +and default: + +[mirko@borg mercurial-crew]$ hg diff -rdefault +diff -r d852151fb8d4 hgext/convert/cvs.py +--- a/hgext/convert/cvs.py Fri Jan 04 13:56:31 2008 -0800 ++++ b/hgext/convert/cvs.py Sat Jan 05 22:16:04 2008 +0100 +@@ -255,6 +255,12 @@ class convert_cvs(converter_source): + return (data, "x" in mode and "x" or "") + elif line.startswith("E "): + self.ui.warn("cvs server: %s\n" % line[2:]) ++ elif line.endswith("- ignored\n"): ++ self.ui.warn("cvs server: %s\n" % line) ++ self.readp.readline() ++ l = self.readp.readline() ++ if l != "error\n": ++ raise util.Abort("unknown CVS response: %s" % +l) + elif line.startswith("Remove"): + l = self.readp.readline() + l = self.readp.readline() +diff -r d852151fb8d4 templates/gitweb/summary.tmpl +--- a/templates/gitweb/summary.tmpl Fri Jan 04 13:56:31 2008 -0800 ++++ b/templates/gitweb/summary.tmpl Sat Jan 05 22:16:05 2008 +0100 +@@ -7,6 +7,7 @@ + + + ++^ Repositories List +