Activity log for bug #267670

Date Who What changed Old value New value Message
2008-09-08 08:58:10 d3k0 bug added bug
2008-09-08 08:58:10 d3k0 bug added attachment '.bzr.log' (Log with both working and not working)
2008-09-08 09:50:17 Andrew Bennetts bzr: status New Confirmed
2008-09-08 09:50:17 Andrew Bennetts bzr: importance Undecided Medium
2008-09-08 09:50:17 Andrew Bennetts bzr: statusexplanation So there's a couple of issues here: * bzr add doesn't give an error or warning even though there's a filename that bzr cannot commit * the error when it does happen is very unhelpful (And arguably we should support such filenames in the first place.)
2008-09-08 10:17:13 d3k0 description I have a c++ project with many apps sharing a common code basis, with many symbolic links (I try to pint out what can be different). When I initialize bazaar, bzr check and any utility that tries to revert to any previous commit fails. The same thing with a "fake" code tree works well. This is the not working: root@darkstar:/opt/ezechiele# rm -Rf /root/.bzr.log /root/.bazaar/ .bzr/ root@darkstar:/opt/ezechiele# bzr init root@darkstar:/opt/ezechiele# bzr add root@darkstar:/opt/ezechiele# bzr commit -m "initial commit" [...] Committed revision 1. root@darkstar:/opt/ezechiele# bzr check Checking working tree at 'file:///opt/ezechiele/'. bzr: ERROR: not well-formed (invalid token): line 10892, column 74 root@darkstar:/opt/ezechiele# touch newfile.txt root@darkstar:/opt/ezechiele# bzr status unknown: newfile.txt root@darkstar:/opt/ezechiele# bzr add newfile.txt added newfile.txt root@darkstar:/opt/ezechiele# bzr revert bzr: ERROR: not well-formed (invalid token): line 10892, column 74 root@darkstar:/opt/ezechiele# And this is the working: root@darkstar:/opt# mkdir bzr_working root@darkstar:/opt# cd bzr_working/ root@darkstar:/opt/bzr_working# touch work1.txt root@darkstar:/opt/bzr_working# bzr init root@darkstar:/opt/bzr_working# bzr add added work1.txt root@darkstar:/opt/bzr_working# bzr commit -m 'one' Committing to: /opt/bzr_working/ added work1.txt Committed revision 1. root@darkstar:/opt/bzr_working# echo "xxx" > work1.txt root@darkstar:/opt/bzr_working# bzr check Checking working tree at 'file:///opt/bzr_working/'. Checking repository at 'file:///opt/bzr_working/'. checked repository <bzrlib.transport.local.LocalTransport url=file:///opt/bzr_working/> format <RepositoryFormatKnitPack1> 1 revisions 1 file-ids 1 unique file texts 0 repeated file texts 0 unreferenced text versions Checking branch at 'file:///opt/bzr_working/'. checked branch file:///opt/bzr_working/ format Bazaar Branch Format 6 (bzr 0.15) root@darkstar:/opt/bzr_working# bzr status modified: work1.txt root@darkstar:/opt/bzr_working# bzr revert M work1.txt I use slackware-current. I upgraded python to the last version available on slackware repos. I tried with bazaar version 1.5, 1.6 (the last available), and the I compiled myself the 1.6.1. No changes in the errors. Thank you for the help. I have a c++ project with many apps sharing a common code basis, with many symbolic links (I try to pint out what can be different). When I initialize bazaar, bzr check and any utility that tries to revert to any previous commit fails. The same thing with a "fake" code tree works well. This is the not working: root@darkstar:/opt/ezechiele# rm -Rf /root/.bzr.log /root/.bazaar/ .bzr/ root@darkstar:/opt/ezechiele# bzr init root@darkstar:/opt/ezechiele# bzr add [...] root@darkstar:/opt/ezechiele# bzr commit -m "initial commit" [...] Committed revision 1. root@darkstar:/opt/ezechiele# bzr check Checking working tree at 'file:///opt/ezechiele/'. bzr: ERROR: not well-formed (invalid token): line 10892, column 74 root@darkstar:/opt/ezechiele# touch newfile.txt root@darkstar:/opt/ezechiele# bzr status unknown: newfile.txt root@darkstar:/opt/ezechiele# bzr add newfile.txt added newfile.txt root@darkstar:/opt/ezechiele# bzr revert bzr: ERROR: not well-formed (invalid token): line 10892, column 74 root@darkstar:/opt/ezechiele# And this is the working: root@darkstar:/opt# mkdir bzr_working root@darkstar:/opt# cd bzr_working/ root@darkstar:/opt/bzr_working# touch work1.txt root@darkstar:/opt/bzr_working# bzr init root@darkstar:/opt/bzr_working# bzr add added work1.txt root@darkstar:/opt/bzr_working# bzr commit -m 'one' Committing to: /opt/bzr_working/ added work1.txt Committed revision 1. root@darkstar:/opt/bzr_working# echo "xxx" > work1.txt root@darkstar:/opt/bzr_working# bzr check Checking working tree at 'file:///opt/bzr_working/'. Checking repository at 'file:///opt/bzr_working/'. checked repository <bzrlib.transport.local.LocalTransport url=file:///opt/bzr_working/> format <RepositoryFormatKnitPack1> 1 revisions 1 file-ids 1 unique file texts 0 repeated file texts 0 unreferenced text versions Checking branch at 'file:///opt/bzr_working/'. checked branch file:///opt/bzr_working/ format Bazaar Branch Format 6 (bzr 0.15) root@darkstar:/opt/bzr_working# bzr status modified: work1.txt root@darkstar:/opt/bzr_working# bzr revert M work1.txt I use slackware-current. I upgraded python to the last version available on slackware repos. I tried with bazaar version 1.5, 1.6 (the last available), and the I compiled myself the 1.6.1. No changes in the errors. Thank you for the help.
2009-01-30 23:38:51 Karl Fogel title bzr check and revert fails with "ERROR: not well-formed (invalid token)" bzr commands sometimes fail with "ERROR: not well-formed (invalid token)"
2011-07-05 01:07:30 Dimitri John Ledkov bzr: status Confirmed Incomplete
2011-09-03 04:18:13 Launchpad Janitor bzr: status Incomplete Expired