[BUG] commit message with tabulation characters

Harald Meland harald.meland at usit.uio.no
Tue Oct 11 00:27:06 BST 2005


[Robert Collins]

>> I also tried to use "bzr info URL" to verify that my branch had indeed
>> been upgraded:
>> 
>>   $ bzr info http://folk.uio.no/hmeland/software/branches/bzr/smallstuff/branch format: Bazaar-NG branch, format 6
>>   bzr: ERROR: [Errno 2] No such file or directory: u'http://folk.uio.no/hmeland/software/branches/bzr/smallstuff//.bzr/stat-cache.7988.twoflower.uio.no.tmp'
>>     at /usit/twoflower/work/bazaar-ng/bzr-0.1rc2/bzrlib/atomicfile.py line 46, in __init__()
>>     see ~/.bzr.log for debug information
>>   Exception exceptions.IOError: (2, 'No such file or directory', u'http://folk.uio.no/hmeland/software/branches/bzr/smallstuff//.bzr/stat-cache.7988.twoflower.uio.no.tmp') in <bound method WorkingTree.__del__ of <WorkingTree of http://folk.uio.no/hmeland/software/branches/bzr/smallstuff/>> ignored
>
> Fun stuff. The latter exception is a nuisance, and will probably get
> fixed first thing after 0.1 - it just indicates that a WorkingTree
> object was in ram when python shutdown. The first, I am not sure of -
> can you grab the backtrace from ~/.bzr.log?

Using current format-5, the backtrace looks like this:

[ 9943] Tue 01:21:49.342 ERROR: command: './bzr' 'info' 'http://folk.uio.no/hmeland/software/branches/bzr/smallstuff'
pwd: /usit/twoflower/work/bazaar-ng/bzr.format-5
[Errno 2] No such file or directory: u'http://folk.uio.no/hmeland/software/branches/bzr/smallstuff/.bzr/stat-cache.9943.twoflower.uio.no.tmp'
Traceback (most recent call last):
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/commands.py", line 639, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/commands.py", line 624, in run_bzr
    ret = cmd_obj.run_argv(argv)
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/commands.py", line 283, in run_argv
    return self.run(**all_cmd_args)
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/builtins.py", line 466, in run
    info.show_info(b)
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/info.py", line 49, in show_info
    working = b.working_tree()
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/branch.py", line 1059, in working_tree
    return WorkingTree(self._transport.base, self.read_working_inventory())
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/workingtree.py", line 112, in __init__
    hc.write()
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/hashcache.py", line 197, in write
    outf = AtomicFile(self.cache_file_name(), 'wb')
  File "/usit/twoflower/work/bazaar-ng/bzr.format-5/bzrlib/atomicfile.py", line 46, in __init__
    self.f = open(self.tmpfilename, mode)
IOError: [Errno 2] No such file or directory: u'http://folk.uio.no/hmeland/software/branches/bzr/smallstuff/.bzr/stat-cache.9943.twoflower.uio.no.tmp'

-- 
Harald




More information about the bazaar mailing list