Show More
@@ -811,14 +811,14 b' def gcclient(ui, cachepath):' | |||
|
811 | 811 | validrepos = [] |
|
812 | 812 | keepkeys = set() |
|
813 | 813 | |
|
814 | _analyzing = _("analyzing repositories") | |
|
815 | ||
|
816 | 814 | sharedcache = None |
|
817 | 815 | filesrepacked = False |
|
818 | 816 | |
|
819 | 817 | count = 0 |
|
818 | progress = ui.makeprogress(_("analyzing repositories"), unit="repos", | |
|
819 | total=len(repos)) | |
|
820 | 820 | for path in repos: |
|
821 | ui.progress(_analyzing, count, unit="repos", total=len(repos)) | |
|
821 | progress.update(count) | |
|
822 | 822 | count += 1 |
|
823 | 823 | try: |
|
824 | 824 | path = ui.expandpath(os.path.normpath(path)) |
@@ -868,7 +868,7 b' def gcclient(ui, cachepath):' | |||
|
868 | 868 | return fileserverclient.getcachekey(reponame, fname, hex(fnode)) |
|
869 | 869 | keepkeys = repackmod.keepset(repo, keyfn=keyfn, lastkeepkeys=keepkeys) |
|
870 | 870 | |
|
871 | ui.progress(_analyzing, None) | |
|
871 | progress.complete() | |
|
872 | 872 | |
|
873 | 873 | # write list of valid repos back |
|
874 | 874 | oldumask = os.umask(0o002) |
General Comments 0
You need to be logged in to leave comments.
Login now