* [PATCH] remote-helpers: trivial cleanup
@ 2013-05-07 23:45 Felipe Contreras
2013-05-08 5:43 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Felipe Contreras @ 2013-05-07 23:45 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Felipe Contreras
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()
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)
--
1.8.3.rc1.553.gac13664
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] remote-helpers: trivial cleanup
2013-05-07 23:45 [PATCH] remote-helpers: trivial cleanup Felipe Contreras
@ 2013-05-08 5:43 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2013-05-08 5:43 UTC (permalink / raw)
To: Felipe Contreras; +Cc: git
Felipe Contreras <felipe.contreras@gmail.com> writes:
> 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.
> 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-08 5:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 23:45 [PATCH] remote-helpers: trivial cleanup Felipe Contreras
2013-05-08 5:43 ` Junio C Hamano
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).