git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-remote-hg
@ 2014-01-20 17:18 Christophe
  2014-04-12 21:42 ` git-remote-hg Felipe Contreras
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe @ 2014-01-20 17:18 UTC (permalink / raw)
  To: git

Hi,

I am using git-remote-hg to access to projects on bitbucket.  I can
clone the master branch fine and push to it.  I also see hg branches
as remotes/origin/branches/«branch».  However, if I create a local
branch "branches/x" and want to push it to remotes/origin/branches/x,
it gets pushed to the remote master (aka default) branch.

What is the recommended way of working with multiple branches when
interacting with a remote hg repository?

Best,
C.


P.S. The remote helper also prints many lines like:

error: Object 4a83cec050af8749b3eacc9da9b216350bb86c07 already has a mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: git-remote-hg
  2014-01-20 17:18 git-remote-hg Christophe
@ 2014-04-12 21:42 ` Felipe Contreras
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Contreras @ 2014-04-12 21:42 UTC (permalink / raw)
  To: Christophe, git

Christophe wrote:
> I am using git-remote-hg to access to projects on bitbucket.  I can clone the
> master branch fine and push to it.  I also see hg branches as
> remotes/origin/branches/«branch».  However, if I create a local branch
> "branches/x" and want to push it to remotes/origin/branches/x, it gets pushed
> to the remote master (aka default) branch.

Which version of the script and Git are you using?

If I do `git push origin branches/test` it works fine, I can see the branch in
bitbucket.

> What is the recommended way of working with multiple branches when
> interacting with a remote hg repository?

My recommendation is to avoid them (I don't see the point of them), but they
should work.

-- 
Felipe Contreras

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-12 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 17:18 git-remote-hg Christophe
2014-04-12 21:42 ` git-remote-hg Felipe Contreras

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).