test-convert-bzr: tweak sed hack to preserve timezone in 'bzr log' output
authorGreg Ward <greg-hg@gerg.ca>
Thu, 07 May 2009 21:35:12 -0400
changeset 8308 1268b895f69b
parent 8307 2bb6548a8fa6
child 8309 4ff63d699256
test-convert-bzr: tweak sed hack to preserve timezone in 'bzr log' output
tests/test-convert-bzr
--- a/tests/test-convert-bzr	Thu May 07 19:08:25 2009 +0200
+++ b/tests/test-convert-bzr	Thu May 07 21:35:12 2009 -0400
@@ -39,7 +39,7 @@
 echo "% compare timestamps"
 cd source
 bzr log | \
-  sed '/timestamp/!d;s/.\{15\}\([0-9: -]\{16\}\).\{9\}/\1 +0000/' \
+  sed '/timestamp/!d;s/.\{15\}\([0-9: -]\{16\}\):.. \(.[0-9]\{4\}\)/\1 \2/' \
   > ../bzr-timestamps
 cd ..