bzr diff on a remote branch

Stefan Reichör stefan at xsteve.at
Wed Jun 20 06:36:55 BST 2007


Hi!

I'd like to show a diff for a branch that is available via http
without the need to download it first.

I tried the following:


bzr diff -r188:http://bzr.xsteve.at/dvc/..189:http://bzr.xsteve.at/dvc/
bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'lock_read'

Traceback (most recent call last):
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/commands.py", line 717, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/commands.py", line 678, in run_bzr
    ret = run(*run_argv)
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/commands.py", line 375, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/commands.py", line 688, in ignore_pipe
    result = func(*args, **kwargs)
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/builtins.py", line 1472, in run
    old_label=old_label, new_label=new_label)
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/diff.py", line 375, in diff_cmd_helper
    extra_trees=extra_trees)
  File "/opt/stow/python/lib/python2.5/site-packages/bzrlib/diff.py", line 397, in show_diff_trees
    tree.lock_read()
AttributeError: 'NoneType' object has no attribute 'lock_read'

bzr 0.18.0dev0 on python 2.5.0.final.0 (linux2)
arguments: ['/opt/bin/bzr', 'diff', '-r188:http://bzr.xsteve.at/dvc/..189:http://bzr.xsteve.at/dvc/']

** please send this report to bazaar at lists.ubuntu.com



Stefan.




More information about the bazaar mailing list