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

Re: [PATCH] remote-helpers: trivial cleanup

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2013, 05:43 UTC
Message-ID
<7vmws6gh5y.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1367970315-5053-1-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 19 quoted lines
> The comment was copied from hg-fast-export, not used anymore.
>
> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
> ---
>  contrib/remote-helpers/git-remote-bzr | 1 -
>  contrib/remote-helpers/git-remote-hg  | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr
> index c19ed0e..3604c7d 100755
> --- a/contrib/remote-helpers/git-remote-bzr
> +++ b/contrib/remote-helpers/git-remote-bzr
> @@ -323,7 +323,6 @@ def export_branch(branch, name):
>          count += 1
>          if (count % 100 == 0):
>              print "progress revision %s (%d/%d)" % (revid, count, len(revs))
> -            print "#############################################################"
>  
>      repo.unlock()

THe above no longer is relevant, I think, after a39769995050 (remote-bzr: improve progress reporting, 2013-04-30). I'll apply only the hunk for remote-hg.

Show 12 quoted lines
> diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
> index 06920f2..96ad30d 100755
> --- a/contrib/remote-helpers/git-remote-hg
> +++ b/contrib/remote-helpers/git-remote-hg
> @@ -453,7 +453,6 @@ def export_ref(repo, name, kind, head):
>          count += 1
>          if (count % 100 == 0):
>              print "progress revision %d '%s' (%d/%d)" % (rev, name, count, len(revs))
> -            print "#############################################################"
>  
>      # make sure the ref is updated
>      print "reset %s/%s" % (prefix, ename)
Previous: Felipe Contreras
Message 2 of 2 in “remote-helpers: trivial cleanup”
  1. remote-helpers: trivial cleanupFelipe Contreras, May 7, 2013
  2. Junio C HamanoMay 8, 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.