{"action":"closed","issue":{"url":"https://api.github.com/repos/glandium/git-remote-hg/issues/6","labels_url":"https://api.github.com/repos/glandium/git-remote-hg/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/glandium/git-remote-hg/issues/6/comments","events_url":"https://api.github.com/repos/glandium/git-remote-hg/issues/6/events","html_url":"https://github.com/glandium/git-remote-hg/issues/6","id":54518841,"number":6,"title":"Push failed - repository changed while preparing changes - please try again","user":{"login":"ehsan","id":168508,"avatar_url":"https://avatars.githubusercontent.com/u/168508?v=3","gravatar_id":"","url":"https://api.github.com/users/ehsan","html_url":"https://github.com/ehsan","followers_url":"https://api.github.com/users/ehsan/followers","following_url":"https://api.github.com/users/ehsan/following{/other_user}","gists_url":"https://api.github.com/users/ehsan/gists{/gist_id}","starred_url":"https://api.github.com/users/ehsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehsan/subscriptions","organizations_url":"https://api.github.com/users/ehsan/orgs","repos_url":"https://api.github.com/users/ehsan/repos","events_url":"https://api.github.com/users/ehsan/events{/privacy}","received_events_url":"https://api.github.com/users/ehsan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-15T23:15:46Z","updated_at":"2015-01-16T01:03:25Z","closed_at":"2015-01-16T01:03:25Z","body":"I got this when pushing to a freshly cloned buildbotcustom repo:\r\n\r\n```\r\n$ git push\r\nTraceback (most recent call last):\r\n  File \"/Users/ehsan/src/git-remote-hg/git-remote-hg\", line 469, in <module>\r\n    sys.exit(main(sys.argv[1:]))\r\n  File \"/Users/ehsan/src/git-remote-hg/git-remote-hg\", line 456, in main\r\n    pushed = push(repo, store, pushes, repo_heads, branchmap.keys())\r\n  File \"/Users/ehsan/src/git-remote-hg/git-remote-hg\", line 269, in push\r\n    ret = repo.unbundle(cg, repo_heads, '') != 0\r\n  File \"/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/wireproto.py\", line 388, in unbundle\r\n    _('push failed:'), output)\r\nmercurial.error.ResponseError: ('push failed:', 'repository changed while preparing changes - please try again')\r\nerror: failed to push some refs to 'hg::ssh://hg.mozilla.org/build/buildbotcustom'\r\n```\r\n\r\nHere is my git config file:\r\n\r\n```\r\n[core]\r\n\trepositoryformatversion = 0\r\n\tfilemode = true\r\n\tbare = false\r\n\tlogallrefupdates = true\r\n\tignorecase = false\r\n\tprecomposeunicode = true\r\n[remote \"origin\"]\r\n\turl = hg::http://hg.mozilla.org/build/buildbotcustom\r\n\tpushurl = hg::ssh://hg.mozilla.org/build/buildbotcustom\r\n\tfetch = +refs/heads/*:refs/remotes/origin/*\r\n  prune = true\r\n[branch \"tip\"]\r\n\tremote = origin\r\n\tmerge = refs/heads/tip\r\n```"}}