Revision not present in KnitVersionedFile

Asked by Horst Gutmann

Sorry for being such a pain today. After successfully pulling an hg repository (about 83 revisions) I now tried to push it to a remote repository. But after some time I get following error message:

bzr: ERROR: Revision {hg:c2e0a7156b4216b7c01f47d72382324a5b42e330} not present in KnitVersionedFile(file:///Users/zerok/tmp/test/.bzr/repository/knits/38/hg%253adjango%253azerokspot%253ashared%253atemplates%253azerokspot%253ashared).

I also get a similar error message when trying to pull this branch from another one. Is there a way to correct something like this, or was the original pull completely fubar?

Used hg 0.9.4/0.9.3 with bzr 0.18 and bzr_hg:trunk@26

Question information

English Edit question
Bazaar Hg Plugin Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :

This sounds like it could be a bug in bzr-hg.
There is an existing problem if you have:


If you create them all in revision-1, modified a in revision-2, and modify b in revision-3, it will cause 'dir' to have a 'last-modified' value of revision-2 (in revision-3).

However, revision-2 stated it was last modified in revision-1, and so would not create an entry for that revision.

Can you help with this problem?

Provide an answer of your own, or ask Horst Gutmann for more information if necessary.

To post a message you must log in.