Implement Repository.get_file_graph()

Bug #677363 reported by Alexander Fedorov
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Fix Released
Medium
Jelmer Vernooij
bzr-git (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

bzr: ERROR: exceptions.NotImplementedError: <bound method GitTexts.get_parent_map of <bzrlib.plugins.git.versionedfiles.GitTexts object at 0x85309ec>>

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/loggraphprovider.py", line 806, in load_filter_file_id
    revids[start:start + chunk_size])
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/util.py", line 879, in decorate
    run_in_loading_queue(f, *args, **kargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/util.py", line 891, in run_in_loading_queue
    f(*args, **kargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/logmodel.py", line 79, in load_filter_file_id_chunk
    LogGraphProvider.load_filter_file_id_chunk(self, repo, revids)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/loggraphprovider.py", line 828, in load_filter_file_id_chunk
    check_text_keys(text_keys)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/loggraphprovider.py", line 813, in check_text_keys
    for fileid, revid in repo.texts.get_parent_map(text_keys):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/versionedfiles.py", line 113, in get_parent_map
    raise NotImplementedError(self.get_parent_map)
NotImplementedError: <bound method GitTexts.get_parent_map of <bzrlib.plugins.git.versionedfiles.GitTexts object at 0x85309ec>>

bzr 2.1.1 on python 2.6.5 (linux2)
arguments: ['/usr/bin/bzr', 'explorer']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ru_RU.utf8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.1.0]
  explorer /usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer [1.0.1]
  git /usr/lib/python2.6/dist-packages/bzrlib/plugins/git [0.4.3]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.1.1]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
  news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.1.1]
  qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.18.6]

Related branches

Martin Pool (mbp)
affects: bzr-explorer → bzr-git
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Per file logs require full history scanning. Git doesn't have per-file graphs.

Changed in bzr-git:
status: New → Triaged
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
summary: - View journal of file in git repo
+ Implement Repository.get_file_graph()
Changed in bzr-git (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Triaged → Fix Committed
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.6.2
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-git - 0.6.2-1

---------------
bzr-git (0.6.2-1) unstable; urgency=low

  * New upstream release.
   + Depends on Dulwich 0.8.0.
   + Implements per_file_graph. LP: #677363
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 17 Oct 2011 09:11:16 +0000

Changed in bzr-git (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.