patch bfc8c5f7c020e7fcfcb4f2f7b76473da576f3576 Author: Alberto Bertogli Date: Fri Nov 20 18:13:48 GMT 2020 tagged 1.2 patch 7615eff358a9430b4a7529079dd8c6dbfe7523cf Author: Alberto Bertogli Date: Fri Nov 20 13:22:25 GMT 2020 * Version 1.2 patch bbcff73a80378b5925ad2d67f67ede7b5ca48202 Author: Alberto Bertogli Date: Fri Nov 20 13:20:41 GMT 2020 tagged 1.2-rc2 patch 8df24868d93b5b0a7381a50162113bb99a4cf4b4 Author: Alberto Bertogli Date: Fri Nov 20 11:35:49 GMT 2020 * Fix possibly infinite loop on filehistory error The last patch introduced a shameful bug: if darcs returns an error during a file history lookup, "" won't appear but darcsweb will be stuck looking for it. This patch fixes the problem by returning early if EOF is reached. patch 3d7da42fe33eb61c0604d9e804b65b0bc25fb625 Author: Alberto Bertogli Date: Fri Nov 20 09:42:29 GMT 2020 * Fix filehistory by working around non-XML output "darcs changes --xml-output FILE" can emit non-XML output at first, before changing to XML later on. This (reasonably) confuses the XML parser, causing filehistory to break. This patch implements a workaround to this, which is to read and discard the output until "" appears, which is the top-level element in the XML. patch 71504726e8195bcbe812dba5882c8cfd078f8b87 Author: Alberto Bertogli Date: Fri Nov 20 01:00:58 GMT 2020 * Ignore "explicit_dependencies" in tag patches In the XML output, tag patches now have an "explicit_dependencies" section which includes patches inside. Since the parser is non-hierarchical, this confuses it and those patches are currently being counted twice. This patch fixes the issue by ignoring the "explicit_dependencies" section. patch 09f93bac0a514ce34aebcaabf77867c089a5da05 Author: ernst@creagraphy.nl Date: Fri Nov 20 00:21:19 GMT 2020 * Work around a Darcs bug, especially version 2.12.4. Darcs annotate sometimes generates a patch number of 0000000000000000000000000000000000000000 Skip such an invalid patch number, using the previous one instead. patch 98e48e16c207ced7735b402585607e41d1fb4a44 Author: Alberto Bertogli Date: Thu Nov 19 17:47:10 GMT 2020 * Update annotate to the new machine-readable format Darcs no longer supports annotate --xml-output, it has been replaced by a custom machine-readable format. This patch updates the annotate handler to parse this new format. Thanks to Ernst de Moor (ernst@creagraphy.nl) for reporting this and providing an alternative patch! patch 04d31398ebef99b968bbee90b2d01b84faab4e2f Author: Alberto Bertogli Date: Thu Sep 6 00:02:29 IST 2012 * Tell pygments to output in utf8 pygment, by default, sends unicode strings in the output, which we don't support. Instead, we need to tell it to output in utf8-encoded strings. Thanks to both Øistein E. Andersen and Alexei Matveev for the bug reports and patches. patch 074b2fa3a79549917bae15cb7dfbe835afab267a Author: Alberto Bertogli Date: Wed Feb 15 22:17:34 GMT 2012 * Fix hashlib import patch 8979fbb8bc87354024df06861711d328e33e2cdb Author: Alberto Bertogli Date: Wed Feb 15 00:16:38 GMT 2012 * Use subprocess instead of popen4() This patch makes darcsweb use subprocess.Popen() for running darcs, instead of os.popen4() which has been deprecated. The bulk of the change is actually a modification of run_darcs()' API, because it now takes the parameters as a list of strings, instead of just a big string as it was before, which is cleaner and safer. patch a5bd7f22416daa18c3cef17ff4442038435f737e Author: Alberto Bertogli Date: Tue Feb 14 02:05:03 GMT 2012 * Set $PATH if it's not in the environment Recent versions of darcs require the $PATH environment variable to be set, in order to find "diff". Some http servers don't set it, and darcs will fail to diff. This patch attempts to set a basic path variable hoping that it will work for most cases; it is really up to the server to set it if diff is not in one of these places. patch 90e034038cd50f3a647486deb19a414b52665951 Author: Alberto Bertogli Date: Tue Feb 14 01:54:06 GMT 2012 * Use the new hashlib if available We should use hashlib when available (Python >= 2.5); we continue to fall back to the old sha library if it's not. Thanks to Karl O. Pinc for the bug report. patch 7214bf99f9cc9b3ea05fa6d74d47d563cd288bdb Author: Alberto Bertogli Date: Tue Feb 14 01:43:03 GMT 2012 * Ignore comments in the author file This patch makes darcsweb ignore comments in the author file. patch f29ed7e843e909162f4cb89c72e28ea9ba20a0c4 Author: Alberto Bertogli Date: Wed Nov 24 15:52:33 GMT 2010 tagged 1.2-rc1 patch 8a239f73201275869131831568f2068e2e872b20 Author: Dave Love Date: Fri Oct 15 13:55:46 IST 2010 * Use diff --quiet. Prevents `Copying pristine' messages in output with darcs pre-2.5. patch 1a421ea50019e1f5b5af8216aad61b9330af5bce Author: Alberto Bertogli Date: Fri Jun 25 01:32:55 IST 2010 * Do not use string exceptions String exceptions are deprecated and will soon no longer be supported at all. Most of the instances of string exceptions in our code were not meant to be catched, but just to get meaningful backtraces. This patch replaces them with appropriate, usually generic, exceptions that serve the same purpose. patch f978b7b0fda048b477f3fc3a65f3a45bb0c0cc9f Author: Simon Michael Date: Sun Mar 28 19:21:44 IST 2010 * log view: display the patch name just once, tighten up whitespace patch d9bc3d38b832ae7ec4513066414f6ee55df5cf66 Author: Simon Michael Date: Sun Mar 28 17:40:18 IST 2010 * allow custom "last" value in url, eg to view all patches on one page patch 8527402c0d1a811144f758b20615ab516797b4b7 Author: Simon Michael Date: Sun Mar 28 17:37:55 IST 2010 * hide darcs' Ignore-this: metadata in log view patch 0811a066257b5fffa5716757e44be87bd5bbb1a7 Author: Simon Michael Date: Sun Mar 28 19:57:50 IST 2010 * more robust timestamp parsing With this, darcsweb can list the full darcs repo log. patch 9c08efbd7c856aae8d8e190e2f5ca8c122711c39 Author: gaetan.lehmann@jouy.inra.fr Date: Thu Mar 26 19:58:42 GMT 2009 * add the year in the date field if the patch wasn't made in the current year patch da571dba4978ab2a1087540acd59d35400815572 Author: Alberto Bertogli Date: Tue Oct 28 15:44:36 GMT 2008 tagged 1.1