Comment 25 for bug 855155

Revision history for this message
Tom Browder (tbrowder) wrote : Re: [Bug 855155] Re: InconsistentDelta error when using bzr update

On Fri, Sep 28, 2012 at 9:13 AM, Tom Browder <email address hidden> wrote:
> On Thu, Sep 27, 2012 at 11:18 AM, John Arbash Meinel
> <email address hidden> wrote:
>> On 9/27/2012 6:25 PM, Tom Browder wrote:
>>> I, too, have gotten my working tree into the inconsistent state and
>>> need to get it functional again. Any solutions yet?
> ...
>> If it is just an issue with the WT, you can run 'bzr
>> reset-workingtree' and it should rebuild the right files. You'll lose
>
> John, I've installed bzr version 2.6b2 from a source release package
> but it doesn't seem to have that command.
>
> What doi I need to do to get it?

Never mind, the 'repair-workingtree' command is there, but it didn't help.

However, I have finally gotten rid of the error. I did this sequence:

$ bzr repair-workingtree
bzr: ERROR: The tree does not appear to be corrupt. You probably want
"bzr revert" instead. Use "--force" if you are sure you want to reset
the working tree.

$ bzr bind
$ bzr repair-workingtree
bzr: ERROR: The tree does not appear to be corrupt. You probably want
"bzr revert" instead. Use "--force" if you are sure you want to reset
the working tree.

$ bzr update
All changes applied successfully.
bzr: ERROR: An inconsistent delta was supplied involving
'mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html',
'index.html-20120921102114-n0erei2dkpu26tny-1'
reason: Unable to find block for this record. Was the parent added?

$ bzr revert mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
bzr: ERROR: Path(s) are not versioned:
mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html

$ bzr revert mydomains/domains/usafa-1965-cs24/pics/web-site/login
$ bzr update
All changes applied successfully.

bzr: ERROR: An inconsistent delta was supplied involving
'mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html',
'index.html-20120921102114-n0erei2dkpu26tny-1'
reason: Unable to find block for this record. Was the parent added?

$ bzr revert mydomains/domains/usafa-1965-cs24/pics/web-site/login
$ bzr revert mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
bzr: ERROR: Path(s) are not versioned:
mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html

$ bza mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
adding mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
$ bzr revert mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
- mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
$ bzr update
All changes applied successfully.
bzr: ERROR: An inconsistent delta was supplied involving
'mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html',
'index.html-20120921102114-n0erei2dkpu26tny-1'
reason: Unable to find block for this record. Was the parent added?

$ bza mydomains/domains/usafa-1965-cs24/pics/web-site/login
$ bzr revert mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
bzr: ERROR: Path(s) are not versioned:
mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html

$ bza mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
adding mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
$ bzr update
All changes applied successfully.
Updated to revision 2705 of branch
bzr+ssh://bigtom/usr/local/bzr-repos-local-and-ox/tbrowde-home-bzr
$ bzr status . -V
removed:
  mydomains/domains/usafa-1965-cs24/pics/web-site/login/index.html
...
added:
  mydomains/domains/usafa-1965-cs24/pics/gen-uclass.pl
...
modified:
  mydomains/configure-postgres.sh
...
$ bzc mydomains/vh1-web-site-backup
Committing to: bzr+ssh://bigtom/usr/local/bzr-repos-local-and-ox/tbrowde-home-bzr/
modified mydomains/vh1-web-site-backup/local_public_html/remote-mysqlbackup.sql
modified mydomains/vh1-web-site-backup/local_public_html/apache2/sites-available/mygnus.com
modified mydomains/vh1-web-site-backup/local_public_html/apache2/sites-available/usafa-1965.org
modified mydomains/vh1-web-site-backup/local_public_html/apache2/sites-available/usafa-1965.org.conf
Committed revision 2706.
...

And now everything seems to be working again.

BTW, I'm using bzr version 2.6b2.

Thanks for your help.

Best regards,

-Tom