{"action":"opened","issue":{"url":"https://api.github.com/repos/felipec/git-remote-hg/issues/66","repository_url":"https://api.github.com/repos/felipec/git-remote-hg","labels_url":"https://api.github.com/repos/felipec/git-remote-hg/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/felipec/git-remote-hg/issues/66/comments","events_url":"https://api.github.com/repos/felipec/git-remote-hg/issues/66/events","html_url":"https://github.com/felipec/git-remote-hg/issues/66","id":187015419,"number":66,"title":"Mercurial 4.0 - TypeError: getchangegroup() got an unexpected keyword argument 'heads'","user":{"login":"alexbarton","id":174961,"avatar_url":"https://avatars.githubusercontent.com/u/174961?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbarton","html_url":"https://github.com/alexbarton","followers_url":"https://api.github.com/users/alexbarton/followers","following_url":"https://api.github.com/users/alexbarton/following{/other_user}","gists_url":"https://api.github.com/users/alexbarton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbarton/subscriptions","organizations_url":"https://api.github.com/users/alexbarton/orgs","repos_url":"https://api.github.com/users/alexbarton/repos","events_url":"https://api.github.com/users/alexbarton/events{/privacy}","received_events_url":"https://api.github.com/users/alexbarton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-03T09:54:06Z","updated_at":"2016-11-03T09:54:06Z","closed_at":null,"body":"I get the following error when calling `git push origin master`:\r\n\r\n    $ git push origin master\r\n    searching for changes\r\n    no changes found\r\n    searching for changes\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/bin/git-remote-hg\", line 1356, in <module>\r\n        sys.exit(main(sys.argv))\r\n      File \"/usr/local/bin/git-remote-hg\", line 1342, in main\r\n        do_export(parser)\r\n      File \"/usr/local/bin/git-remote-hg\", line 1219, in do_export\r\n        if not push(parser.repo, peer, parsed_refs, p_revs):\r\n      File \"/usr/local/bin/git-remote-hg\", line 1107, in push\r\n        ret = push_unsafe(repo, remote, parsed_refs, p_revs)\r\n      File \"/usr/local/bin/git-remote-hg\", line 1072, in push_unsafe\r\n        cg = changegroup.getchangegroup(repo, 'push', heads=list(p_revs), common=common)\r\n    TypeError: getchangegroup() got an unexpected keyword argument 'heads'\r\n    To hg::ssh://…@…//srv/git/… f9a4099..2ce01fe  master -> master\r\n    error: failed to push some refs to 'hg::ssh://…@…//srv/git/…'\r\n    $ \r\n\r\nSystem is OS X 10.11, Mercurial 4.0 installed by Homebrew, which has been updated to version 4.0 (from 3.9.2, which worked for me) yesterday. **So most probably it is Mercurial 4.0 that breaks git-remote-hg**, I think?"}}
{"actor":{"display_login":"alexbarton"}}