New patches: [darcs source: handle special author fields Miklos Vajna **20070618115451 first: 'Tue Nov 14 14:58:44 CET 2006 Karoly CZOVEK ' second: 'Thu Nov 23 14:58:26 CET 2006 ' both is stupid, but allowed by darcs ] { hunk ./vcpx/repository/darcs/source.py 308 - # Sun Jan 2 00:24:04 UTC 2005 lele@nautilus.homeip.net + # Sun Jan 2 00:24:04 UTC 2005 Lele Gaifax hunk ./vcpx/repository/darcs/source.py 318 - # but that assumes the two spaces as separator, so I find the - # following solution easier and by any chance faster too. - pieces = l.rstrip().split(' ') - assert len(pieces)>1, "Cannot parse %r as a patch timestamp" % l - author = pieces.pop() - date = ' '.join(pieces) + # but that is still problemaic when people use two spaces (how + # stupid they are) in their email. So let's split after 6 + # words: + pieces = l.rstrip().split(' ') + i = 0 + # drop whitespaces from the first 6 elements + for piece in pieces: + if i < 6 and not len(piece): + pieces.pop(i) + i += 1 + assert len(pieces)>=6, "Cannot parse %r as a patch timestamp" % l + author = ' '.join(pieces[7:]) + # it seems that darcs even allows empty an author field. others + # may not + if not len(author): + author = "Anonymous " + date = ' '.join(pieces[:6]) } Context: [darcs source: handle unescaped problematic characters Miklos Vajna **20070612230624 quoting the mail from Lele: "Eh! This is really a damned problem. The fact is, darcs doesn't check or even understand the encoding used by the committer. Maybe DARCS_DONT_ESCAPE_XXX could help (but probably won't). But even svn suffers of this sometimes, and in fact I implemented a workaround for that system (see http://progetti.arstecnica.it/tailor/browser/vcpx/repository/svn.py#L340) I'm afraid you'll need something similar, if you can isolate the offending characters in the xml output." this patch works around this problem ] [[Monotone] Handle the case with rename and equal source and target name Henry Nestler **20070611102037] [[Monotone] New home page URL Henry Nestler **20070611101941] [[Monotone] Empty "commit" and "diff" should return english text message Henry Nestler **20070611101840] [[Monotone] Full 'Tag' support for source and target Henry Nestler **20070611101745] [[Monotone] Replace the MonotoneLogParser with a MonotoneCertsParser Henry Nestler **20070611101526 It is more robust and gets all informations about the revision. Remove the deal with supportsLogRevision and supportsLogNoGraph. Added "Tag" and "Testresult" to changelog. Set LANG=POSIX inside tailor, before execute "mtn list certs". ] [[Monotone] No genkey, if keyfile exist in users home directory Henry Nestler **20070611101323] [[Monotone] Fix the special case: Only one revision to read from monotone Henry Nestler **20070611101228] [[Monotone] Missing changes on files, if other file was renamed or deleted Henry Nestler **20070611100826] [[Monotone] Missing first revision on initial convert Henry Nestler **20070611100342 The initial convert from Monotone to Subversion (or others) was losing the first revision. All 'add file' found in the next revision. ] [[Monotone] Can't handle microsecond Henry Nestler **20070611100103 Trim the microseconds from the the timestamp in the right way. ] [[Monotone] ExternalCommandChain hangs on stdin for empty outputs Henry Nestler **20070611095852 If one command gives no outputs, don't read from stdin and wait forever, simply break the command chain. ] [[Monotone] File DELETED and ADDED in same diff: combine to file UPDATED Henry Nestler **20070611095652] [Removed trailing space from the assert, since we just did a .rstrip() lele@nautilus.homeip.net**20070502220940] [Remove microseconds from the timestamp, at monotone commit time lele@nautilus.homeip.net**20070430120231] [bzrlib-pull-result-object Wouter van Heyst **20070428151313] [python2.5-unittest-api-fix Wouter van Heyst **20070428150020] [bazaar-ng-renaming Wouter van Heyst **20070428143747 What was formerly know as Bazaar-NG is no longer the next generation, but the current one. See http://bazaar-vcs.org/Baz1x and http://bazaar-vcs.org/Branding. ] [Create the pre-revprop-change hook only when svn repository is local lele@nautilus.homeip.net**20070427214436] [Typo lele@nautilus.homeip.net**20070427202406] [TAG Version 0.9.28 lele@nautilus.homeip.net**20070425172839] Patch bundle hash: 4a9facb922dc5ac1478481460e3978223858bf99