Annotate bug ?

Goffredo Baroncelli kreijack at alice.it
Wed May 17 20:23:59 BST 2006


Hi all,

If I do on a "bzr.dev" repository

$ bzr annotate -r \ 
	revid:robertc at robertcollins.net-20060221224144-83aef6ec91b8a5dc \
	bzrlib/branch.py

I get

bzr: ERROR: Branch <bzrlib.store.revision.knit.KnitRevisionStore object at 
0x2aaaad4b92d0> has no revision 
john at arbash-meinel.com-20050711044256-e3d166928db591af

Any idea ??

Thank
Goffredo
-------
$ bzr info
Location:
    shared repository: /home/ghigo/bazaar/repo/
  repository checkout: bzr-browse

Related branches:
  parent branch: /home/ghigo/bazaar/repo/bzr.dev/

Format:
       control: Meta directory format 1
  working tree: Working tree format 3
        branch: Branch format 5
    repository: Knit repository format 1

In the working tree:
       344 unchanged
         4 modified
         0 added
         0 removed
         0 renamed
         0 unknown
        78 ignored
        35 versioned subdirectories

Branch history:
      1711 revisions
       434 days old
   first revision: Wed 2005-03-09 04:08:15 +0000
  latest revision: Wed 2006-05-17 14:03:45 +0100

Revision store:
      4901 revisions
     28557 KiB
$ tail -100 .bzr.log
[...]
[ 6128] Wed 21:16:13.535 ERROR: Branch 
<bzrlib.store.revision.knit.KnitRevisionStore object at 0x2aaaad4b92d0> has 
no revision john at arbash-meinel.com-20050711044256-e3d166928db591af
Traceback (most recent call last):
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/commands.py", line 650, in 
run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/commands.py", line 612, in run_bzr
    ret = run(*run_argv)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/commands.py", line 246, in 
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/commands.py", line 622, in 
ignore_pipe
    result = func(*args, **kwargs)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/builtins.py", line 2321, in run
    annotate_file(branch, file_version, file_id, long, all, sys.stdout)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/annotate.py", line 43, in 
annotate_file
    annotation = list(_annotate_file(branch, rev_id, file_id))
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/annotate.py", line 74, in 
_annotate_file
    rev = branch.repository.get_revision(origin)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/decorators.py", line 38, in 
read_locked
    return unbound(self, *args, **kwargs)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/repository.py", line 711, in 
get_revision
    return self.get_revision_reconcile(revision_id)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/decorators.py", line 38, in 
read_locked
    return unbound(self, *args, **kwargs)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/repository.py", line 264, in 
get_revision_reconcile
    self.get_transaction())
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/store/revision/knit.py", line 82, in 
get_revision
    xml = self._get_revision_xml(revision_id, transaction)
  File "/home/ghigo/bazaar/bzr.dev/bzrlib/store/revision/knit.py", line 96, in 
_get_revision_xml
    raise errors.NoSuchRevision(self, revision_id)
NoSuchRevision: Branch <bzrlib.store.revision.knit.KnitRevisionStore object at 
0x2aaaad4b92d0> has no revision 
john at arbash-meinel.com-20050711044256-e3d166928db591af

return code 3

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) 
<kreijack at inwind.it.removeme>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9




More information about the bazaar mailing list