git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Charles Brossollet <chbrosso@lltech.fr>
To: git@vger.kernel.org
Subject: Error using git-remote-hg
Date: Mon, 12 May 2014 17:16:58 +0200	[thread overview]
Message-ID: <ACDAFE7C-6615-4E44-AE6C-C12CD001EF4F@lltech.fr> (raw)

Hello,

I have the following error while pushing to an hg repository though the "remote translator":

$ git remote -v
origin	hg::ssh://charlesb05@hg.code.sf.net/u/charlesb05/lapdogapi (push)
origin	hg::ssh://charlesb05@hg.code.sf.net/u/charlesb05/lapdogapi (fetch)

$ git push origin
Password:
searching for changes
no changes found
searching for changes
Traceback (most recent call last):
  File "/usr/local/bin/git-remote-hg", line 1254, in <module>
    sys.exit(main(sys.argv))
  File "/usr/local/bin/git-remote-hg", line 1238, in main
    do_export(parser)
  File "/usr/local/bin/git-remote-hg", line 1119, in do_export
    if not push(parser.repo, peer, parsed_refs, p_revs):
  File "/usr/local/bin/git-remote-hg", line 1007, in push
    ret = push_unsafe(repo, remote, parsed_refs, p_revs)
  File "/usr/local/bin/git-remote-hg", line 984, in push_unsafe
    cg = repo.getbundle('push', heads=list(p_revs), common=common)
  File "/usr/local/lib/python2.7/site-packages/mercurial/repoview.py", line 217, in __getattr__
    return getattr(self._unfilteredrepo, attr)
AttributeError: 'localrepository' object has no attribute 'getbundle'

I'm using git 1.9.3 on Mac OS X 10.9.2, with hg 3.0 installed with brew.

It used to work before, on this same repository, since then git and hg were both upgraded.

Thanks for help,
—- 
Charles

             reply	other threads:[~2014-05-12 15:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 15:16 Charles Brossollet [this message]
2014-05-12 19:01 ` Error using git-remote-hg Torsten Bögershausen
2014-05-12 19:37   ` Felipe Contreras
2014-05-13  7:54     ` Charles Brossollet
2014-05-13 15:01       ` Torsten Bögershausen
2014-05-13 17:30         ` Junio C Hamano
2014-05-13 18:21           ` Felipe Contreras
2014-05-13 18:48           ` William Giokas
2014-05-13 19:09             ` Felipe Contreras
2014-05-13 19:39               ` William Giokas
2014-05-13 20:24                 ` Felipe Contreras
2014-05-13 21:01                   ` William Giokas
2014-05-13 22:16                     ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ACDAFE7C-6615-4E44-AE6C-C12CD001EF4F@lltech.fr \
    --to=chbrosso@lltech.fr \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).