Shelf bug ?

马旋(SuperMMX) supermmx at gmail.com
Fri Nov 7 02:21:29 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi, Bazaar guys:

I am using latest bzr.dev, but it seems that shelve doesn't work correctly.
I'm running bzr on Windows XP.

The error is:

bzr: ERROR: Could not acquire lock "$MY_PATH/.bzr/checkout/dirstate

The stack trace is :

0.156  bzr arguments: [u'shelve', u'src/org/supermmx/example/serialization/SerializationTest.java']
0.156  looking for plugins in C:/Documents and Settings/xuama/Application Data/bazaar/2.0/plugins
0.156  looking for plugins in c:\Install\Python25\lib\site-packages\bzrlib\plugins
0.343  encoding stdout as osutils.get_user_encoding() 'cp936'
0.562  opening working tree 'C:/HOME/MyOwn/Projects/SuperMMX/bzr-repo/homepage/trunk'
0.625  Traceback (most recent call last):
  File "c:\Install\Python25\lib\site-packages\bzrlib\commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "c:\Install\Python25\lib\site-packages\bzrlib\commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "c:\Install\Python25\lib\site-packages\bzrlib\commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "c:\Install\Python25\Lib\site-packages\bzrlib\builtins.py", line 4766, in run
    Shelver.from_args(revision, all, file_list, message).run()
  File "c:\Install\Python25\Lib\site-packages\bzrlib\shelf_ui.py", line 88, in run
    self.file_list)
  File "c:\Install\Python25\lib\site-packages\bzrlib\shelf.py", line 47, in __init__
    self.shelf_transform = transform.TransformPreview(self.target_tree)
  File "c:\Install\Python25\lib\site-packages\bzrlib\transform.py", line 1516, in __init__
    tree.lock_read()
  File "c:\Install\Python25\Lib\site-packages\bzrlib\workingtree_4.py", line 1729, in lock_read
    self._dirstate.lock_read()
  File "c:\Install\Python25\lib\site-packages\bzrlib\dirstate.py", line 2724, in lock_read
    self._lock_token = lock.ReadLock(self._filename)
  File "c:\Install\Python25\lib\site-packages\bzrlib\lock.py", line 464, in __init__
    self._lock(filename, 'rb', LOCK_SH + LOCK_NB)
  File "c:\Install\Python25\lib\site-packages\bzrlib\lock.py", line 441, in _lock
    raise errors.LockContention(filename)
LockContention: Could not acquire lock "C:/HOME/MyOwn/Projects/SuperMMX/bzr-repo/homepage/trunk/.bzr/checkout/dirstate"

0.625  return code 3

- -- 
A. Because it makes the logic of the discussion difficult to follow.
Q. Why shoudn't I top post?
A. No.
Q Should I top post?

A: Because it destroys the flow of the conversation
Q: Why is it bad?
A: No, it's bad.
Q: Should I top post in replies to mailing lists? 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iEYEARECAAYFAkkTpikACgkQYjhzyV/TMxvsXACfeom92Gl/tOW6JDCfKYi826GN
kiQAn0hYpU5bT4/XYALrRpCc1KUkk926
=X3Qn
-----END PGP SIGNATURE-----



More information about the bazaar mailing list