Re: [PATCH v3 05/10] remote-hg: fix new branch creation

2013-05-15 Thread Junio C Hamano
Felipe Contreras felipe.contre...@gmail.com writes: Felipe Contreras wrote: When force_push is disabled, we need to turn the argument to True. With your follow-up clarification, here is what ended up in the log message: remote-hg: fix new branch creation When a user creates a new

Re: [PATCH v3 05/10] remote-hg: fix new branch creation

2013-05-15 Thread Felipe Contreras
On Wed, May 15, 2013 at 2:40 PM, Junio C Hamano gits...@pobox.com wrote: Felipe Contreras felipe.contre...@gmail.com writes: Felipe Contreras wrote: When force_push is disabled, we need to turn the argument to True. With your follow-up clarification, here is what ended up in the log

RE: [PATCH v3 05/10] remote-hg: fix new branch creation

2013-05-14 Thread Felipe Contreras
This is the first fix, but it's obvious this is what we want: if a user creates a new branch with git: % git checkout -b branches/devel And then pushes this branch % git push origin branches/devel (which is the way to push new mercurial branches) We obviously want to create a branch, but

[PATCH v3 05/10] remote-hg: fix new branch creation

2013-05-13 Thread Felipe Contreras
When force_push is disabled, we need to turn the argument to True. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- contrib/remote-helpers/git-remote-hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/remote-helpers/git-remote-hg