refresh repository after renaming branch causes error
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/
File "C:/Users/
File "C:/Users/
File "C:/Users/
File "C:/Users/
File "bzrlib\
File "bzrlib\
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)\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files (x86)\Bazaar\
colo C:\Users\
email C:\Users\
explorer C:\Users\
extmerge C:\Program Files (x86)\Bazaar\
fastimport C:\Users\
launchpad C:\Program Files (x86)\Bazaar\
netrc_
news_merge C:\Program Files (x86)\Bazaar\
pqm C:\Users\
qbzr C:\Users\
rebase C:\Program Files (x86)\Bazaar\
svn C:\Program Files (x86)\Bazaar\
upload C:\Program Files (x86)\Bazaar\
xmloutput C:\Program Files (x86)\Bazaar\
Related branches
- Alexander Belchenko: Approve
- Martin Packman (community): Abstain
-
Diff: 94 lines (+31/-7)3 files modifiedNEWS (+2/-0)
lib/explorer.py (+9/-7)
lib/location.py (+20/-0)
tags: | added: win32 |
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 |
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.