{"thread":{"id":"1777","subject":"cg-push - push to a different head","startedAt":"2005-09-12T01:56:37Z","lastAt":"2005-09-12T02:03:56Z","messageCount":2,"participants":["Martin Langhoff","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"8357","messageId":"46a038f90509111856aa3c23@mail.gmail.com","threadId":"1777","inReplyTo":null,"subject":"cg-push - push to a different head","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-09-12T01:56:37Z","receivedAt":"2005-09-12T01:56:37Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Hi Petr,\n\ngood to see you back. Now, before you go on holidays again... ;-)\n\nI'd be happy to work a bit on cg-clone to get this scenario working. \n  \n      $ cg-clone somehost.com/somerepo.dir#odd-branch locadir\n      ... work ... commit ... work\n      $ cg-push\n      cg-push: pushing to a different head not supported yet\n      ... grrr...\n      $ git-push somehost.com/somerepo.dir master:odd-branch\n      # this works!\n \nI am 100% confuses as to how cg-push is supposed to work. Am I doing\nsomething wrong, or how should I fix cg-push to do the right thing?\n\ncheers,\n\n\n\nmartin\n"},{"id":"8358","messageId":"20050912020356.GN15630@pasky.or.cz","threadId":"1777","inReplyTo":"46a038f90509111856aa3c23@mail.gmail.com","subject":"Re: cg-push - push to a different head","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-09-12T02:03:56Z","receivedAt":"2005-09-12T02:03:56Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Mon, Sep 12, 2005 at 03:56:37AM CEST, I got a letter\nwhere Martin Langhoff <martin.langhoff@gmail.com> told me that...\n> Hi Petr,\n\nHi,\n\n> good to see you back. Now, before you go on holidays again... ;-)\n> \n> I'd be happy to work a bit on cg-clone to get this scenario working. \n>   \n>       $ cg-clone somehost.com/somerepo.dir#odd-branch locadir\n>       ... work ... commit ... work\n>       $ cg-push\n>       cg-push: pushing to a different head not supported yet\n>       ... grrr...\n>       $ git-push somehost.com/somerepo.dir master:odd-branch\n>       # this works!\n>  \n> I am 100% confuses as to how cg-push is supposed to work. Am I doing\n> something wrong, or how should I fix cg-push to do the right thing?\n\nyou are doing nothing wrong, it's entirely matter of a\nprobably-not-too-complicated cg-push fix. Actually, looking at the code,\ncg-push seems to even do the wrong thing if you just aren't on the\nmaster branch.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nIf you want the holes in your knowledge showing up try teaching\nsomeone.  -- Alan Cox\n"}]}