external diff tools on windows

Maritza Mendez martitzam at gmail.com
Sat Apr 18 16:20:40 BST 2009


It does look like the problem maybe bzr is trying to delete one of the
readonly temp files.

To recap I have

*bazaar.conf*
[ALIASES]
bc = diff --using 'C:\\Program\ Files\\Beyond\ Compare\ 3\\BComp.exe'

and the command I used was

bzr bc foo.cs

and BComp.exe [from scootersoftware.com] starts as expected.  But when I try
to close it, I get this in my .bzr.log:

Fri 2009-04-17 17:10:41 -0700
0.311  bzr arguments: [u'bc', u'foo.cs']
0.381  looking for plugins in C:/Documents and Settings/martitza/Application
Data/bazaar/2.0/plugins
0.381  looking for plugins in C:/Program Files/Bazaar/plugins
1.072  opening working tree 'C:/Documents and
Settings/martitza/Desktop/work/Tools'
6.889  Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 716, in exception_to_return_code
  File "bzrlib\commands.pyo", line 911, in run_bzr
  File "bzrlib\commands.pyo", line 547, in run_argv_aliases
  File "bzrlib\commands.pyo", line 926, in ignore_pipe
  File "bzrlib\builtins.pyo", line 1768, in run
  File "bzrlib\diff.pyo", line 428, in show_diff_trees
  File "bzrlib\diff.pyo", line 836, in show_diff
  File "bzrlib\diff.pyo", line 742, in finish
  File "bzrlib\osutils.pyo", line 386, in rmtree
  File "shutil.pyo", line 178, in rmtree
  File "bzrlib\osutils.pyo", line 380, in _win32_delete_readonly
WindowsError: [Error 32] The process cannot access the file because it is
being used by another process:
'C:/docume~1/martitza/locals~1/temp/1/bzr-diff-fewne-'

6.900  return code 3

Does anyone have an idea about how to fix this?  The BeyondCompare GUI has
definitely exited.  Perhaps there could be a race?

Thanks
-M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090418/6442a562/attachment-0001.htm 


More information about the bazaar mailing list