I too have experienced what I think may be this bug (under cygwin).
I run this script in an empty directory:
#!/bin/bash
bzr init
echo "La La La" > test.txt
bzr add test.txt
bzr commit -m "Created a file"
mv test.txt lost.txt
bzr commit -m "Deleted a file by mistake"
bzr log -v
bzr log test.txt
And here's the output:
Created a standalone tree (format: 2a)
adding test.txt
Committing to: /cygdrive/d/Development/BazaarTest/
added test.txt
Committed revision 1.
Committing to: /cygdrive/d/Development/BazaarTest/
missing test.txt
modified test.txt
Committed revision 2.
------------------------------------------------------------
revno: 2
committer: Brent <brent@oppenheimer>
branch nick: BazaarTest
timestamp: Mon 2009-10-26 19:42:11 +0000
message:
Deleted a file by mistake
removed:
test.txt
------------------------------------------------------------
revno: 1
committer: Brent <brent@oppenheimer>
branch nick: BazaarTest
timestamp: Mon 2009-10-26 19:42:07 +0000
message:
Created a file
added:
test.txt
bzr: ERROR: bzrlib.errors.ObjectNotLocked: <bzrlib.groupcompress._GCGraphIndex object at 0x7f9828cc> is not locked
Traceback (most recent call last):
File "commands.py", line 842, in exception_to_return_code
File "commands.py", line 1037, in run_bzr
File "commands.py", line 654, in run_argv_aliases
File "commands.py", line 1052, in ignore_pipe
File "builtins.py", line 2280, in run
File "log.py", line 1889, in _get_info_for_log_files
File "log.py", line 1929, in _get_kind_for_file_id
File "revisiontree.py", line 148, in kind
File "inventory.py", line 1883, in __getitem__
File "chk_map.py", line 484, in iteritems
File "chk_map.py", line 138, in _ensure_root
File "chk_map.py", line 151, in _get_node
File "chk_map.py", line 162, in _read_bytes
File "groupcompress.py", line 1423, in get_record_stream
File "groupcompress.py", line 1528, in _get_remaining_record_stream
File "groupcompress.py", line 2002, in get_build_details
File "groupcompress.py", line 1922, in _check_read
ObjectNotLocked: <bzrlib.groupcompress._GCGraphIndex object at 0x7f9828cc> is not locked
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
I too have experienced what I think may be this bug (under cygwin).
I run this script in an empty directory:
#!/bin/bash
bzr init
echo "La La La" > test.txt
bzr add test.txt
bzr commit -m "Created a file"
mv test.txt lost.txt
bzr commit -m "Deleted a file by mistake"
bzr log -v
bzr log test.txt
And here's the output:
Created a standalone tree (format: 2a) d/Development/ BazaarTest/ d/Development/ BazaarTest/ ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ---- errors. ObjectNotLocked : <bzrlib. groupcompress. _GCGraphIndex object at 0x7f9828cc> is not locked
adding test.txt
Committing to: /cygdrive/
added test.txt
Committed revision 1.
Committing to: /cygdrive/
missing test.txt
modified test.txt
Committed revision 2.
-------
revno: 2
committer: Brent <brent@oppenheimer>
branch nick: BazaarTest
timestamp: Mon 2009-10-26 19:42:11 +0000
message:
Deleted a file by mistake
removed:
test.txt
-------
revno: 1
committer: Brent <brent@oppenheimer>
branch nick: BazaarTest
timestamp: Mon 2009-10-26 19:42:07 +0000
message:
Created a file
added:
test.txt
bzr: ERROR: bzrlib.
Traceback (most recent call last): to_return_ code for_log_ files for_file_ id record_ stream groupcompress. _GCGraphIndex object at 0x7f9828cc> is not locked
File "commands.py", line 842, in exception_
File "commands.py", line 1037, in run_bzr
File "commands.py", line 654, in run_argv_aliases
File "commands.py", line 1052, in ignore_pipe
File "builtins.py", line 2280, in run
File "log.py", line 1889, in _get_info_
File "log.py", line 1929, in _get_kind_
File "revisiontree.py", line 148, in kind
File "inventory.py", line 1883, in __getitem__
File "chk_map.py", line 484, in iteritems
File "chk_map.py", line 138, in _ensure_root
File "chk_map.py", line 151, in _get_node
File "chk_map.py", line 162, in _read_bytes
File "groupcompress.py", line 1423, in get_record_stream
File "groupcompress.py", line 1528, in _get_remaining_
File "groupcompress.py", line 2002, in get_build_details
File "groupcompress.py", line 1922, in _check_read
ObjectNotLocked: <bzrlib.
bzr 2.0.0 on python 2.5.2 (CYGWIN_ NT-6.0- 1.5.25- 0.156-4- 2-i686- 32bit-WindowsPE ) python2. 5/site- packages/ bzrlib/ plugins/ launchpad [2.0.0] credential_ store /usr/lib/ python2. 5/site- packages/ bzrlib/ plugins/ netrc_credentia l_store [2.0.0]
arguments: ['/usr/bin/bzr', 'log', 'test.txt']
encoding: 'US-ASCII', fsenc: 'US-ASCII', lang: None
plugins:
launchpad /usr/lib/
netrc_
*** Bazaar has encountered an internal error. This probably indicates a /bugs.launchpad .net/bzr/ +filebug
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.