The dirstate file appears to be corrupt

Piotr Kilczuk p.kilczuk at neumea.pl
Mon Apr 20 13:46:20 BST 2009


Hello,

Sorry in advance if I post something against the mail list rules, as I'm
posting for the 1st time here.

Today there were some problems with DNSes of my remote bzr repo. When I
tried to run "bzr update" afterwards on my http server I got following
error:

bzr: ERROR: The dirstate file
(DirState(u'/home/etgarnet/.bzr/checkout/dirstate')) appears to be
corrupt: Bad parse, we expected to end on \n, not: 40
tests-20090401172627-kv4stl9tdnn7bxzw-18: (('app', 'plugins',
'plugins-20090401172627-kv4stl9tdnn7bxzw-17'), [('d', '', 0L, 0,
'AAAQAEnWjFFJ2xPIAAAAlAAmDQsAAEHt'), ('d', '', 0L, 0, 'tests')])

Bzr version info:

Bazaar (bzr) 1.11
  Python interpreter: /usr/bin/python 2.4.3
  Python standard library: /usr/lib/python2.4
  bzrlib: /usr/lib/python2.4/site-packages/bzrlib
  Bazaar configuration: /root/.bazaar
  Bazaar log file: /root/.bzr.log

Is it possible to fix it quickly and run "bzr update", or should I just
delete the .bzr directory and run "bzr checkout"?

Any help will be apprieciated. 

Thanks in advance and regards,
Piotr Kilczuk







More information about the bazaar mailing list