git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/4] remote-hg: don't push fake 'master' bookmark

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 10, 2013, 12:20 UTC
Message-ID
<CAMP44s2=xj=PS8Eb7D-meAO9U1x1yTD9PShJrMXP1dHMVUYXnA@mail.gmail.com>
In-Reply-To
<1368181023-10402-2-git-send-email-felipe.contreras@gmail.com>

On Fri, May 10, 2013 at 5:17 AM, Felipe Contreras <felipe.contreras@gmail.com> wrote:

Show 7 quoted lines
> --- a/contrib/remote-helpers/git-remote-hg
> +++ b/contrib/remote-helpers/git-remote-hg
> @@ -867,7 +867,7 @@ def do_export(parser):
>
>          if bmark == 'master' and 'master' not in parser.repo._bookmarks:
>              # fake bookmark
> -            pass
Missed:
+ print "ok %s" % ref
> +            continue
>          elif bookmarks.pushbookmark(parser.repo, bmark, old, new):
>              # updated locally
>              pass
-- 
Felipe Contreras
Previous: Felipe ContrerasNext: Felipe Contreras
Message 3 of 6 in “remote-hg: trivial fixes and cleanups”
  1. 0/4 remote-hg: trivial fixes and cleanupsFelipe Contreras, May 10, 2013
  2. 1/4 remote-hg: don't push fake 'master' bookmarkFelipe Contreras, May 10, 2013
  3. Felipe ContrerasMay 10, 2013
  4. 2/4 remote-hg: update bookmarks when pullingFelipe Contreras, May 10, 2013
  5. 3/4 remote-hg: test: be a little more quietFelipe Contreras, May 10, 2013
  6. 4/4 remote-hg: fix new branch creationFelipe Contreras, May 10, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.