1. Open in Bazaar Explorer the branch D:/work/branch
2. Run in D:\work\branch "mvn clean install". This attempts to delete a lot
of directories named "target", which were previously detected by
Bazaar Explorer as Unversioned
3. Maven stops with the error below
[INFO] Failed to clean project: Failed to delete D:\work\branch\target\classes\my\domain\myproject\export
4. .bzr.log shows the error below
8.423 Traceback (most recent call last):
File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\view_workingtree.py", line 141, in refresh_view
File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\view_workingtree.py", line 115, in _add_file_watcher_paths
File "bzrlib\osutils.pyo", line 1808, in _walkdirs_utf8
File "_walkdirs_win32.pyx", line 227, in bzrlib._walkdirs_win32.Win32ReadDir.read_dir (bzrlib\_walkdirs_win32.c:1837)
WindowsError: [Error 5] D:/work/branch/target/classes/my/domain/myproject/export/annotations/*
5. Bazaar Explorer shows an error dialog with the content below
7. Repeat step 2 multiple times. The Maven build keeps stopping with the
error below, but there are no errors logged in .bzr.log and Bazaar
Explorer shows no error dialogs. Closing the branch tab in Bazaar
Explorer has no effect, as the build keeps failing to delete the same
directory. Only when Bazaar Explorer is stopped does the build work
again.
[INFO] Failed to clean project: Failed to delete D:\work\branch\target\generated-sources
Steps to reproduce the bug:
1. Open in Bazaar Explorer the branch D:/work/branch
2. Run in D:\work\branch "mvn clean install". This attempts to delete a lot
of directories named "target", which were previously detected by
Bazaar Explorer as Unversioned
3. Maven stops with the error below
[INFO] Failed to clean project: Failed to delete D:\work\ branch\ target\ classes\ my\domain\ myproject\ export
4. .bzr.log shows the error below
8.423 Traceback (most recent call last): plugins\ explorer\ lib\view_ workingtree. py", line 141, in refresh_view plugins\ explorer\ lib\view_ workingtree. py", line 115, in _add_file_ watcher_ paths osutils. pyo", line 1808, in _walkdirs_utf8 win32.pyx" , line 227, in bzrlib. _walkdirs_ win32.Win32Read Dir.read_ dir (bzrlib\ _walkdirs_ win32.c: 1837) branch/ target/ classes/ my/domain/ myproject/ export/ annotations/ *
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "bzrlib\
File "_walkdirs_
WindowsError: [Error 5] D:/work/
5. Bazaar Explorer shows an error dialog with the content below
bzr: ERROR: [Error 5] D:/work/ branch/ target/ classes/ my/domain/ myproject/ export/ annotations/ *
6. Click "Ignore" In the error dialog
7. Repeat step 2 multiple times. The Maven build keeps stopping with the
error below, but there are no errors logged in .bzr.log and Bazaar
Explorer shows no error dialogs. Closing the branch tab in Bazaar
Explorer has no effect, as the build keeps failing to delete the same
directory. Only when Bazaar Explorer is stopped does the build work
again.
[INFO] Failed to clean project: Failed to delete D:\work\ branch\ target\ generated- sources
Bazaar version:
Bazaar (bzr) 2.5b4 x86\Bazaar\ python26. dll 2.6.6 x86\Bazaar\ lib\library. zip 7-6.1.7601- SP1 x86\Bazaar\ lib\library. zip\bzrlib rares/AppData/ Roaming/ bazaar/ 2.0 rares\Documents \.bzr.log
Python interpreter: C:\Programs\
Python standard library: C:\Programs\
Platform: Windows-
bzrlib: C:\Programs\
Bazaar configuration: C:/Users/
Bazaar log file: C:\Users\
Bazaar Explorer version:
1.2.1 "Leif Ericson"
QBzr 0.22.0dev, bzrlib 2.5b4, PyQt 4.8.4, Qt 4.7.2, Python 2.6.6