refresh repository after renaming branch causes error

Bug #568728 reported by Gordon Tyler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
High
Simon Kersey

Bug Description

I had opened my local bzr-explorer shared repository and then opened the trunk branch from that. I then closed the trunk branch, went to Windows Explorer, renamed the trunk branch folder to old-trunk, switched back to bzr-explorer and pressed Refresh, whereupon the following error occurred:

bzr: ERROR: pywintypes.error: (3, 'CreateFileW', 'The system cannot find the path specified.')

Traceback (most recent call last):
  File "C:/Users/Owner/AppData/Roaming/bazaar/2.0/plugins\explorer\lib\explorer.py", line 1684, in do_full_refresh
  File "C:/Users/Owner/AppData/Roaming/bazaar/2.0/plugins\explorer\lib\explorer.py", line 1688, in do_refresh
  File "C:/Users/Owner/AppData/Roaming/bazaar/2.0/plugins\explorer\lib\wt_browser.py", line 77, in refresh
  File "C:/Users/Owner/AppData/Roaming/bazaar/2.0/plugins\explorer\lib\wt_browser.py", line 481, in refresh
  File "C:/Users/Owner/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1487, in refresh
  File "bzrlib\workingtree_4.pyo", line 578, in lock_read
  File "bzrlib\dirstate.pyo", line 3046, in lock_read
  File "bzrlib\lock.pyo", line 372, in __init__
  File "bzrlib\lock.pyo", line 352, in _open
error: (3, 'CreateFileW', 'The system cannot find the path specified.')

bzr 2.1.1 on python 2.5.4 (win32)
arguments: ['C:\\Program Files (x86)\\Bazaar\\bzrw.exe', 'explorer']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.1.0]
  colo C:\Users\Owner\AppData\Roaming\bazaar\2.0\plugins\colo [0.0.2]
  email C:\Users\Owner\AppData\Roaming\bazaar\2.0\plugins\email [unknown]
  explorer C:\Users\Owner\AppData\Roaming\bazaar\2.0\plugins\explorer [1.1.0dev -- r466]
  extmerge C:\Program Files (x86)\Bazaar\plugins\extmerge [unknown]
  fastimport C:\Users\Owner\AppData\Roaming\bazaar\2.0\plugins\fastimport [0.9.0dev]
  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]
  pqm C:\Users\Owner\AppData\Roaming\bazaar\2.0\plugins\pqm [1.3.0]
  qbzr C:\Users\Owner\AppData\Roaming\bazaar\2.0\plugins\qbzr [0.18.5]
  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.dev]

Tags: win32

Related branches

tags: added: win32
Revision history for this message
Simon Kersey (simon-kersey) wrote :

This bug is still present in Bazaar Explorer 1.1 beta 2. I have merged the patch I posted with the latest trunk version. Please could someone review it with a view to getting it incorporated.

Revision history for this message
Alexander Belchenko (bialix) wrote :

Sorry for the delay Simon. I'll review your patch this week.

Changed in bzr-explorer:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Simon Kersey (simon-kersey)
milestone: none → 1.1
Changed in bzr-explorer:
status: Confirmed → Fix Released
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.