##// END OF EJS Templates
largefiles: show progress when checking standin hashes in outgoing changesets...
Mads Kiilerich -
r23892:f2b6f37d default
parent child Browse files
Show More
@@ -420,7 +420,9 b' def getlfilestoupdate(oldstandins, newst'
420 return filelist
420 return filelist
421
421
422 def getlfilestoupload(repo, missing, addfunc):
422 def getlfilestoupload(repo, missing, addfunc):
423 for n in missing:
423 for i, n in enumerate(missing):
424 repo.ui.progress(_('finding outgoing largefiles'), i,
425 unit=_('revision'), total=len(missing))
424 parents = [p for p in repo.changelog.parents(n) if p != node.nullid]
426 parents = [p for p in repo.changelog.parents(n) if p != node.nullid]
425
427
426 oldlfstatus = repo.lfstatus
428 oldlfstatus = repo.lfstatus
@@ -447,6 +449,7 b' def getlfilestoupload(repo, missing, add'
447 for fn in files:
449 for fn in files:
448 if isstandin(fn) and fn in ctx:
450 if isstandin(fn) and fn in ctx:
449 addfunc(fn, ctx[fn].data().strip())
451 addfunc(fn, ctx[fn].data().strip())
452 repo.ui.progress(_('finding outgoing largefiles'), None)
450
453
451 def updatestandinsbymatch(repo, match):
454 def updatestandinsbymatch(repo, match):
452 '''Update standins in the working directory according to specified match
455 '''Update standins in the working directory according to specified match
@@ -590,6 +590,8 b' check messages when there are files to u'
590 all remote heads known locally
590 all remote heads known locally
591 1:1acbe71ce432
591 1:1acbe71ce432
592 2:6095d0695d70
592 2:6095d0695d70
593 finding outgoing largefiles: 0/2 revision (0.00%)
594 finding outgoing largefiles: 1/2 revision (50.00%)
593 largefiles to upload (1 entities):
595 largefiles to upload (1 entities):
594 b
596 b
595 89e6c98d92887913cadf06b2adb97f26cde4849b
597 89e6c98d92887913cadf06b2adb97f26cde4849b
@@ -645,6 +647,11 b' check messages when there are files to u'
645 3:7983dce246cc
647 3:7983dce246cc
646 4:233f12ada4ae
648 4:233f12ada4ae
647 5:036794ea641c
649 5:036794ea641c
650 finding outgoing largefiles: 0/5 revision (0.00%)
651 finding outgoing largefiles: 1/5 revision (20.00%)
652 finding outgoing largefiles: 2/5 revision (40.00%)
653 finding outgoing largefiles: 3/5 revision (60.00%)
654 finding outgoing largefiles: 4/5 revision (80.00%)
648 largefiles to upload (3 entities):
655 largefiles to upload (3 entities):
649 b
656 b
650 13f9ed0898e315bf59dc2973fec52037b6f441a2
657 13f9ed0898e315bf59dc2973fec52037b6f441a2
@@ -690,6 +697,10 b' and #5 refer it.'
690 3:7983dce246cc
697 3:7983dce246cc
691 4:233f12ada4ae
698 4:233f12ada4ae
692 5:036794ea641c
699 5:036794ea641c
700 finding outgoing largefiles: 0/4 revision (0.00%)
701 finding outgoing largefiles: 1/4 revision (25.00%)
702 finding outgoing largefiles: 2/4 revision (50.00%)
703 finding outgoing largefiles: 3/4 revision (75.00%)
693 largefiles to upload (2 entities):
704 largefiles to upload (2 entities):
694 b
705 b
695 13f9ed0898e315bf59dc2973fec52037b6f441a2
706 13f9ed0898e315bf59dc2973fec52037b6f441a2
General Comments 0
You need to be logged in to leave comments. Login now