{"thread":{"id":"35698","subject":"git-remote-hg","startedAt":"2014-01-20T17:18:32Z","lastAt":"2014-04-12T21:42:35Z","messageCount":2,"participants":["Christophe","Felipe Contreras"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"233408","messageId":"20140120.181832.898588286941108442.Christophe.Troestler@umons.ac.be","threadId":"35698","inReplyTo":null,"subject":"git-remote-hg","fromName":"Christophe","fromEmail":"christophe.troestler@umons.ac.be","sentAt":"2014-01-20T17:18:32Z","receivedAt":"2014-01-20T17:18:32Z","isPatch":false,"sender":{"key":"christophe.troestler@umons.ac.be","avatar":null},"body":"Hi,\n\nI am using git-remote-hg to access to projects on bitbucket.  I can\nclone the master branch fine and push to it.  I also see hg branches\nas remotes/origin/branches/«branch».  However, if I create a local\nbranch \"branches/x\" and want to push it to remotes/origin/branches/x,\nit gets pushed to the remote master (aka default) branch.\n\nWhat is the recommended way of working with multiple branches when\ninteracting with a remote hg repository?\n\nBest,\nC.\n\n\nP.S. The remote helper also prints many lines like:\n\nerror: Object 4a83cec050af8749b3eacc9da9b216350bb86c07 already has a mark\n"},{"id":"238797","messageId":"5349b34bb72db_473d1391308ac@nysa.notmuch","threadId":"35698","inReplyTo":"20140120.181832.898588286941108442.Christophe.Troestler@umons.ac.be","subject":"RE: git-remote-hg","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2014-04-12T21:42:35Z","receivedAt":"2014-04-12T21:42:35Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"Christophe wrote:\n> I am using git-remote-hg to access to projects on bitbucket.  I can clone the\n> master branch fine and push to it.  I also see hg branches as\n> remotes/origin/branches/«branch».  However, if I create a local branch\n> \"branches/x\" and want to push it to remotes/origin/branches/x, it gets pushed\n> to the remote master (aka default) branch.\n\nWhich version of the script and Git are you using?\n\nIf I do `git push origin branches/test` it works fine, I can see the branch in\nbitbucket.\n\n> What is the recommended way of working with multiple branches when\n> interacting with a remote hg repository?\n\nMy recommendation is to avoid them (I don't see the point of them), but they\nshould work.\n\n-- \nFelipe Contreras"}]}