Switching to a specific revision for the second time

Bug #613425 reported by Chris Stalenhoef
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

I switched back to an older revision without any problems. Now I try to switch to a slightly newer revision, still not the latest, and bazaar reports the following error.

bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'get_c
onfig'

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 853, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1055, in run_bzr
  File "bzrlib\commands.pyo", line 661, in run_argv_aliases
  File "bzrlib\commands.pyo", line 665, in run_direct
  File "bzrlib\cleanup.pyo", line 122, in run_simple
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 5519, in run
  File "bzrlib\switch.pyo", line 40, in switch
  File "bzrlib\switch.pyo", line 138, in _update
  File "bzrlib\merge.pyo", line 755, in __init__
  File "bzrlib\merge.pyo", line 766, in do_merge
  File "bzrlib\cleanup.pyo", line 118, in run
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\merge.pyo", line 772, in _do_merge
  File "bzrlib\merge.pyo", line 814, in _compute_transform
  File "bzrlib\merge.pyo", line 1302, in _do_merge_contents
  File "bzrlib\merge.pyo", line 161, in merge_contents
  File "bzrlib\merge.pyo", line 133, in filename_matches_config
AttributeError: 'NoneType' object has no attribute 'get_config'

bzr 2.1.1 on python 2.5.4 (Windows-Vista-6.1.7600)
arguments: ['bzr', 'switch', '-r', '249.26.3']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.1.0]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.0.2]
  extmerge C:\Program Files (x86)\Bazaar\plugins\extmerge [unknown]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.1.1]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_
store [2.1.1]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.1.1]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.18.4]
  rebase C:\Program Files (x86)\Bazaar\plugins\rebase [0.5.5]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.2]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.7.de
v]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Version:
Bazaar (bzr) 2.1.1
  Python interpreter: C:\Program Files (x86)\Bazaar\python25.dll 2.5.4
  Python standard library: C:\Program Files (x86)\Bazaar\lib\library.zip
  Platform: Windows-Vista-6.1.7600
  bzrlib: C:\Program Files (x86)\Bazaar\lib\library.zip\bzrlib
  Bazaar configuration: C:\Users\chris\AppData\Roaming\bazaar\2.0
  Bazaar log file: C:\Users\chris\Documents\.bzr.log

Copyright 2005-2010 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

Cheers,
Chris.

Revision history for this message
Andrew Bennetts (spiv) wrote :

This bug has already been fixed in bzr 2.1.2.

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.