You have been subscribed to a public bug:

Ubuntu 12.10
bzr 2.6.0~beta2-0ubuntu1
bzr-git 0.6.9-1

I have branched a git repo with "bzr branch
git+ssh://user@host/repo,branch=master" and want to push the local
working copy to a new branch in the git repo. However running:

  "bzr dpush git+ssh://git+ssh://user@host/repo,branch=branch123"

Hangs indefinitely. Logs indicate the following:

> Mon 2013-02-04 14:43:59 +1100
> 0.033  bazaar version: 2.6b2
> 0.040  bzr arguments: [u'dpush', u'git+ssh://user@host/repo,branch=branch123']
> 0.044  looking for plugins in /home/mjg/.bazaar/plugins
> 0.044  looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
> 0.060  Deprecated function called
> Called from:
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugin.py", line 382, in 
> _load_plugin_module
>     exec "import bzrlib.plugins.%s" % name in {}
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/__init__.py", 
> line 406, in <module>
>     "bzrlib.plugins.svn.keywords", "create_svn_keywords_filter")
>   File "/usr/lib/python2.7/dist-packages/bzrlib/symbol_versioning.py", line 
> 100, in decorated_function
>     trace.mutter_callsite(4, "Deprecated function called")
> 0.065  encoding stdout as sys.stdout encoding 'UTF-8'
> 0.080  opening working tree '/home/mjg/research/papers/local-copy'
>
> 5.970  updating refs. old refs: {'refs/heads/master': 
> ('f3f555eacb3f5c94de4dd5dfd0ae1e9de393cb0e', None)}, new refs: 
> {'refs/heads/branch123': (None, 
> 'git-v1:f3f555eacb3f5c94de4dd5dfd0ae1e9de393cb0e')}

Killing the process results in the following trace in the logs:

> 480.656  Transferred: 0kB (0.0kB/s r:0kB w:0kB)
> 480.659  Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in 
> exception_to_return_code
>     return the_callable(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1141, in 
> run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in 
> run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
>     return self._operation.run_simple(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in 
> run_simple
>     self.cleanups, self.func, *args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in 
> _do_with_cleanups
>     result = func(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/foreign.py", line 319, in run
>     push_result = source_branch.push(target_branch, lossy=True)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1102, in push
>     lossy, *args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/branch.py", line 
> 1147, in push
>     update_refs, lossy=lossy)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/push.py", line 
> 352, in fetch_refs
>     self.source_store.generate_lossy_pack_contents)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 
> 427, in send_pack
>     return self.bzrdir.send_pack(get_changed_refs, generate_pack_contents)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 
> 247, in send_pack
>     generate_pack_contents)
>   File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 458, in 
> send_pack
>     progress)
>   File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 324, in 
> _handle_receive_pack_tail
>     self._read_side_band64k_data(proto, channel_callbacks)
>   File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 266, in 
> _read_side_band64k_data
>     for pkt in proto.read_pkt_seq():
>   File "/usr/lib/python2.7/dist-packages/dulwich/protocol.py", line 147, in 
> read_pkt_seq
>     pkt = self.read_pkt_line()
>   File "/usr/lib/python2.7/dist-packages/dulwich/protocol.py", line 101, in 
> read_pkt_line
>     sizestr = read(4)
> KeyboardInterrupt
>
> 480.659  return code 3

** Affects: bzr-git (Ubuntu)
     Importance: Undecided
         Status: New

-- 
bzr-git freezes on read when pushing to new branch
https://bugs.launchpad.net/bugs/1114845
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to