{BUG in streaming}
Andrew Bennetts
andrew.bennetts at canonical.com
Thu Feb 26 08:33:54 GMT 2009
Martin Pool wrote:
> 2009/2/26 John Arbash Meinel <john at arbash-meinel.com>:
> > Using the latest bzr.dev locally and on my server, I'm getting an error
> > while trying to push a rich-root branch to an empty repository:
I can reproduce this by pushing -r100 of bzr-svn (using bzr.dev on both ends; I
haven't tried other versions). Note that -r50 doesn't trigger it; I think it
may be caused by a non-lefthand revision with a parent of "null:" causing the
searcher in _walk_to_common_revisions to include "null:" in its list of keys.
> > $ bzr push $BZRB/../../plugins/svn/add_lines_cache
> > Connected (version 1.99, client OpenSSH_4.2)
> > Authentication (publickey) successful!
> > Secsh channel 1 opened.
> > bzr: ERROR: Revision {set([('null:',)])} not present in
> > "KnitVersionedFiles(_KnitGraphIndex(Combined
> > GraphIndex(GraphIndex('file:///C:/Users/jameinel/dev/bzr/plugins/DEACTIVATED/svn/.bzr/repository/ind
> > ices/c359a1a41c08eb98e616da765f13d85e.iix'),
> > GraphIndex('file:///C:/Users/jameinel/dev/bzr/plugins/D...
> >
> > Trimmed to make it more readable, but basically there is a search which
> > ends up looking for the NULL_KEY == (NULL_REVISION,), and then dies.
>
> I'm also seeing this trying to push to Launchpad, and I can reproduce
> it with 1.12, and lp claims to be running 1.12.
>
> I think this is https://bugs.edge.launchpad.net/bzr/+bug/317654
I've attached a one-line patch that filters out the "null:" in fetch. Please
try it out and see if it fixes it for you.
-Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quick-fix.patch
Type: text/x-diff
Size: 2605 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090226/7ac6c0a7/attachment.bin
More information about the bazaar
mailing list