bzr version-info crash

Parth Malwankar parth.malwankar at gmail.com
Wed Jun 3 04:01:34 BST 2009


Hello,

In our bzr setup we use a central server for maintaining our
development mainline and the developers push/pull/merge as
needed.

Today, "bzr version-info" started crashing for me and I am
not sure whats wrong as it was working till yesterday. I
suspect a "broken pipe" during a pull may have caused something
to go wrong but can't be sure.

"bzr check" seems ok. "bzr reconcile" also didn't fix the
issue.

I would very much appreciate any advice on if its
possible to fix and use my current local branch
or if I pull a new one.

Also, have I hit upon some bzr bug that should be filed?

Is the log.
I am using bzr 1.15 (ppa) on ubuntu 9.04.

Thanks,
Parth

[czsite.trunk]% bzr pull
Using saved parent location:
bzr+ssh://user@www.example.com/home/user/repo/arden.trunk/
stdin: is not a tty  ] bzr+ssh <      0KB     0KB/s |

bzr: broken pipe

[czsite.trunk]% bzr pull
Using saved parent location:
bzr+ssh://user@www.example.com/home/user/repo/arden.trunk/
stdin: is not a tty  ] bzr+ssh <      0KB     0KB/s |

No revisions to pull.

[czsite.trunk]% bzr version-info
bzr: ERROR: bzrlib.errors.NoSuchRevision:
BzrBranch7('file:///storage/parth/code/example/czsite.trunk/') has no
revision parth at example.com-20090602061429-p8nmvc2b1lej9ip8

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
924, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cmd_version_info.py",
line 116, in run
    builder.generate(self.outf)
  File "/usr/lib/python2.6/dist-packages/bzrlib/version_info_formats/format_rio.py",
line 41, in generate
    revno = str(self._branch.revision_id_to_revno(revision_id))
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line
138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 2651,
in revision_id_to_revno
    raise errors.NoSuchRevision(self, revision_id)
NoSuchRevision:
BzrBranch7('file:///storage/parth/code/example/czsite.trunk/') has no
revision parth at example.com-20090602061429-p8nmvc2b1lej9ip8

bzr 1.15 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'version-info']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_IN'
plugins:
  bisect               /home/parthm/.bazaar/plugins/bisect [1.1.0.pre.0]
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.15]
  email /usr/lib/python2.6/dist-packages/bzrlib/plugins/email [unknown]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [1.15]
  netrc_credential_store
/usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store
[1.15]
  svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [0.6.1]
  touch                /home/parthm/.bazaar/plugins/touch [1.1]
  undelete             /home/parthm/.bazaar/plugins/undelete [0.2]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
[czsite.trunk]%

[czsite.trunk]% bzr check
Checking working tree at 'file:///storage/parth/code/example/czsite.trunk/'.
Checking repository at 'file:///storage/parth/code/example/czsite.trunk/'.
checked repository <bzrlib.transport.local.LocalTransport
url=file:///storage/parth/code/example/czsite.trunk/> format
<RepositoryFormatKnitPack6RichRoot>
  1995 revisions
  3375 file-ids
  8559 unique file texts
1187572 repeated file texts
     0 unreferenced text versions
   122 ghost revisions
   122 revisions missing parents in ancestry
    55 inconsistent parents
Checking branch at 'file:///storage/parth/code/example/czsite.trunk/'.
checked branch file:///storage/parth/code/example/czsite.trunk/ format
Branch format 7

[czsite.trunk]% bzr reconcile
Reconciling branch file:///storage/parth/code/example/czsite.trunk/
revision_history ok.
Reconciling repository file:///storage/parth/code/example/czsite.trunk/
Reconciliation complete

I still see the same issue after "reconcile"



More information about the bazaar mailing list