about bundle inside mail (was: [0.12] avoid MSG_WAITALL in tests)

Alexander Belchenko bialix at ukr.net
Mon Oct 23 08:45:30 BST 2006


Martin Pool пишет:
...

> # Bazaar revision bundle v0.8
> #
> # message:
> #   Avoid MSG_WAITALL as it doesn't work on Windows
> # committer: Martin Pool <mbp at sourcefrog.net>
> # date: Sat 2006-10-21 12:33:37.549999952 +1000

...

> === modified directory  // last-changed:mbp at sourcefrog.net-20061021023337-e517e
> .... aadd87fc778

Last line matters.
As you can see in the last line there is 4 dots instead of expected 3,
so merging this bundle is failed with error

bzr: ERROR: Mismatched last-changed revision for file_id {}:
mbp at sourcefrog.net-20061021023337-e517eaadd87fc778 != mbp at sourcefro
g.net-20061021023337-e517e

I understand why this happens (issue of SMTP protocol).
I just want to notice that this *may* happens. And probably bundle
reader could be more robust against this effect.

--
Alexander





More information about the bazaar mailing list