On Tue, Feb 22, 2011 at 7:10 PM, W. Trevor King <[email protected]> wrote:

> On Tue, Feb 22, 2011, Michael Chaffin wrote something like:
> ...
> Nope.  Earlier versions of bzrlib required explicit calls to
> cmd.cleanup_now(), so we want to keep the '<'.  However, 2.3.0 is not
> right. The comparison should be against 2.2.0:
>
>    bzr.dev $ ./bzr log -p -n 0 -r 5146 | grep -1 deprec
>    +
>    +    @deprecated_method(deprecated_in((2, 2, 0)))
>         def run_direct(self, *args, **kwargs):
>    --
>        +
>        +    @deprecated_method(deprecated_in((2, 2, 0)))
>             def run_direct(self, *args, **kwargs):
>
> I've pushed a fixed comparison in my tree.  However, your change did
> disable the call, which is what the fixed comparison will do, and you
> still got an error:
> ...
> ...
> So something funny is going on...
>
> This is the type of error you get when cleanup_now is not run, and a
> subsequent bzr command tries to get resources held by a previous
> command.
>
> Perhaps it was because you only adjusted one of the new version
> comparisons, since there are several cleanup_now calls.
>
> > Thank you for the help ... as I have said I can poke things a little
> > bit from my end as well. I guess the short easy answer is ... there
> > is no magic switch I am missing or package to install? This might be
> > a bug between Bugs Everywhere and bzlib for now?
>
> That's right.
>
> I just installed Bazaar 2.2.3 to test my current HEAD and everything
> seems to work...  Could you run `git pull`, re-install, and try again?
>
>
King > ... Could you run `git pull`, re-install, and try again?

Done, and I still get the same error when trying on a stripped down bzr
repository.

** SNIP **
C:\Temp\testdir>be init
Traceback (most recent call last):
  File "C:\Program Files\Python26\Scripts\be.py", line 26, in <module>
    sys.exit(libbe.ui.command_line.main())
  File "C:\PROGRA~1\Python26\lib\site-packages\libbe\ui\command_line.py",
line 331, in main
    ret = dispatch(ui, command, args)
...
  File "C:\PROGRA~1\Python26\lib\site-packages\bzrlib\lock.py", line 413, in
__init__
    os.O_RDWR, "rb+")
  File "C:\PROGRA~1\Python26\lib\site-packages\bzrlib\lock.py", line 371, in
_open
    raise errors.LockContention(filename, e)
bzrlib.errors.LockContention: Could not acquire lock
"C:/Temp/testdir/.bzr/checkout/dirstate":
(32, 'CreateFileW', 'The process cannot access the file because it is being
used by another process.')

C:\Temp\testdir>be --full-version
1.0.0
revision: 893bbc21bdac3a5f25c17e547df8adab00dbd670
date: 2011-02-22
committer: W. Trevor King
storage version: Bugs Everywhere Directory v1.4

C:\Temp\testdir>
** SNIP **

King > ...
King > So something funny is going on...
King > ...
King > I just installed Bazaar 2.2.3 to test my current HEAD and everything
seems to work...

Maybe you can just mark this one up to my unique setup ... but I am not sure
why? I will see what I can see from my end.

Thanks for the help.
_______________________________________________
Be-devel mailing list
[email protected]
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Reply via email to