Error on commit: ERROR: exceptions.AttributeError: paths

Bug #633998 reported by Gerard Murphy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Mac Installers
New
Undecided
Unassigned

Bug Description

Version: 2.2.0

What I was doing: trying to commit the results of a merge from a pipelined branch into a checkout of a remote Subversion repository accessed via bzr-svn.

---------------------------------------------------------------------

Commands:-

bzr merge ../pipelineOverWorkingBranch

bzr commit -m "Merged in support for singleton test case values and optimisation of merged partial test vector representations."

---------------------------------------------------------------------

Destination of merge (is a checkout of a Subversion remote branch):-

Repository checkout (format: 2a)
Location:
  repository checkout root: .
        checkout of branch: https://sageserpent-open.googlecode.com/svn/trunk
         shared repository: /Users/gerardMurphy/Documents/SageSerpent/bzrRepository

---------------------------------------------------------------------

Source branch for merge (is a checkout setup by the pipeline plugin currently set over pipe 'optimiseTreeBalance'):-

Lightweight checkout (format: 2a)
Location:
  light checkout root: .
   checkout of branch: /Users/gerardMurphy/Documents/SageSerpent/bzrRepository/optimiseTreeBalance
    shared repository: /Users/gerardMurphy/Documents/SageSerpent/bzrRepository

---------------------------------------------------------------------

Traceback & Detailed Version Information:

bzr: ERROR: exceptions.AttributeError: paths

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 911, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1111, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 3200, in run
    exclude=safe_relpath_files(tree, exclude))
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/workingtree_4.py", line 197, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/mutabletree.py", line 200, in commit
    *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 286, in commit
    possible_master_transports=possible_master_transports)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 360, in _commit
    self._check_bound_branch(operation, possible_master_transports)
  File "/Library/Python/2.6/site-packages/bzrlib/commit.py", line 520, in _check_bound_branch
    master_info = self.master_branch.last_revision_info()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/branch.py", line 469, in last_revision_info
    last_revid = self.last_revision()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/branch.py", line 539, in last_revision
    last_revmeta, mapping = self.last_revmeta()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/branch.py", line 293, in last_revmeta
    for revmeta, mapping in self._revision_meta_history():
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/util.py", line 142, in next
    return self._next()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/util.py", line 124, in _next
    ret = self._iterator.next()
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/repository.py", line 813, in _iter_reverse_revmeta_mapping_history
    if revmeta.is_hidden(mapping):
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revmeta.py", line 534, in is_hidden
    if not self.changes_branch_root():
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revmeta.py", line 230, in changes_branch_root
    return self.branch_path in self.paths
AttributeError: paths

bzr 2.2.0 on python 2.6.1 (Darwin-10.4.0-i386-64bit)
arguments: ['/usr/local/bin/bzr', 'commit', '-m', 'Merged in support for singleton test case values and optimisation of merged partial test vector representations.']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'
plugins:
  bash_completion /Library/Python/2.6/site-packages/bzrlib/plugins/bash_completion [2.2.0]
  bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [2.2.0]
  colo /Library/Python/2.6/site-packages/bzrlib/plugins/colo [0.1.0]
  email /Library/Python/2.6/site-packages/bzrlib/plugins/email [unknown]
  explorer /Library/Python/2.6/site-packages/bzrlib/plugins/explorer [1.1.0dev2]
  extmerge /Library/Python/2.6/site-packages/bzrlib/plugins/extmerge [unknown]
  fastimport /Library/Python/2.6/site-packages/bzrlib/plugins/fastimport [0.9.0dev]
  keychain /Library/Python/2.6/site-packages/bzrlib/plugins/keychain [0.1.0]
  launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [2.2.0]
  loom /Library/Python/2.6/site-packages/bzrlib/plugins/loom [2.2.1dev]
  netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.2.0]
  news_merge /Library/Python/2.6/site-packages/bzrlib/plugins/news_merge [2.2.0]
  pipeline /Library/Python/2.6/site-packages/bzrlib/plugins/pipeline [unknown]
  qbzr /Library/Python/2.6/site-packages/bzrlib/plugins/qbzr [0.20.0dev1]
  rewrite /Library/Python/2.6/site-packages/bzrlib/plugins/rewrite [0.6.0]
  svn /Library/Python/2.6/site-packages/bzrlib/plugins/svn [1.0.4dev]
  upload /Library/Python/2.6/site-packages/bzrlib/plugins/upload [1.0.0dev]
  xmloutput /Library/Python/2.6/site-packages/bzrlib/plugins/xmloutput [0.8.6]

---------------------------------------------------------------------

Jelmer Vernooij (jelmer)
affects: bzr → bzr-mac-installers
Revision history for this message
Gerard Murphy (g-j-murphy) wrote :

Some additional information: I also tried reverting my pending merge and doing an update from the remote Subversion repository. This yielded a slightly different error:-

bzr: ERROR: exceptions.AttributeError: pathsyout 142/142

-----------------------------------------------------------------------------------

Attempting to restart by making a new checkout from the remote Subversion repository at:

https://sageserpent-open.googlecode.com/svn/trunk via:-

bzr checkout https://sageserpent-open.googlecode.com/svn/trunk newCheckoutOfGoogleCode

Also exhibited this new error.

-----------------------------------------------------------------------------------

Reverting the Bazaar installation back to *2.2b4* for Snow Leopard sorted this problem out: I can now checkout from the remote Subversion repository and have successfully carried out the merge on another branch and pushed the committed merge on to my checkout and simultaneously up to Subversion.

Revision history for this message
Gerard Murphy (g-j-murphy) wrote :

This is still occurring in Bazaar 2.2.1 for Mac OSX.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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