Package: mercurial-git Version: 0.3.2-2 Severity: normal Hey,
As indicated by the title, checkout of empty repositories does not seem to work. I created an empty repository using github, and when I went to check it out, I got the traceback as follows: ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) [GCC 4.6.3] ** Mercurial Distributed SCM (version 2.2.2) ** Extensions loaded: git, color, pager, rebase, convert Traceback (most recent call last): File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 27, in ** run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 64, in ** dispatch return _runcatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 87, in ** _runcatch return _dispatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 696, in ** _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 472, in ** runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 184, ** in wrap return wrapper(origfn, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 91, in pagecmd return orig(ui, options, cmd, cmdfunc) File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 184, ** in wrap return wrapper(origfn, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 362, in ** colorcmd return orig(ui_, opts, cmd, cmdfunc) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 786, in ** _runcommand return checkargs() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 757, in ** checkargs return cmdfunc() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 693, in ** <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 463, in ** check return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1171, in ** clone branch=opts.get('branch')) File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 350, in clone destrepo.clone(srcrepo, heads=revs, stream=stream) File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2305, ** in clone return self.pull(remote, heads) File "/usr/lib/python2.7/dist-packages/hgext/git/hgrepo.py", line 14, in ** pull return git.fetch(remote.path, heads) File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 156, ** in fetch refs = self.fetch_pack(remote, heads) File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 820, ** in fetch_pack f.write, progress.progress) File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 471, in ** fetch_pack refs, server_capabilities = self._read_refs(proto) File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 172, in ** _read_refs return refs, set(server_capabilities) TypeError: 'NoneType' object is not iterable user@host:~$ fatal: The remote end hung up unexpectedly As I can tell github to not make empty repositories, this is not fatal, but it is inconvenient. Many thanks! -- System Information: Debian Release: wheezy/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mercurial-git depends on: ii mercurial 2.2.2-1 ii python 2.7.3~rc2-1 ii python-dulwich 0.8.5-2 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3~rc2-2.1 mercurial-git recommends no packages. mercurial-git suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org