[Scummvm-devel] Switching from SVN to git, mercurial or bazaar

Marcus Comstedt marcus at mc.pp.se
Tue Jun 9 19:49:31 CEST 2009


Jordi Vilalta <jvprat at gmail.com> writes:

> 2009/6/9 Filippos Karapetis:
>> As a sidenote, there's also a git plugin for Bazaar:
>> https://code.launchpad.net/bzr-git/+download
>
> Be careful, its description on the overview tab says:
> A plugin for bzr to read git trees. All operations except for "push"
> are supported.
>
> So I guess it wouldn't be too useful for development in its current state.


Well, for one thing it doesn't seem to work so well.  I tried to
use it, and only got a backtrace:

bzr: ERROR: exceptions.AttributeError: can't set attribute

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 716, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 547, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1166, in run
    branch_location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 912, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 799, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 832, in open_from_transport
    return format.open(transport, _found=True)
  File "/home/marcus/.bazaar/plugins/git/__init__.py", line 170, in open
    lockfiles = GitLockableFiles(transport, GitLock())
  File "/home/marcus/.bazaar/plugins/git/dir.py", line 73, in __init__
    self._lock_count = 0
AttributeError: can't set attribute


  // Marcus






More information about the Scummvm-devel mailing list