diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index d4432ce8..8de730bc 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -357,7 +357,8 @@ later is required to fix a server side protocol bug. | |||
357 | fetched = set() | 357 | fetched = set() |
358 | lock = _threading.Lock() | 358 | lock = _threading.Lock() |
359 | pm = Progress('Fetching projects', len(projects), | 359 | pm = Progress('Fetching projects', len(projects), |
360 | print_newline=not(opt.quiet)) | 360 | print_newline=not(opt.quiet), |
361 | always_print_percentage=opt.quiet) | ||
361 | 362 | ||
362 | objdir_project_map = dict() | 363 | objdir_project_map = dict() |
363 | for project in projects: | 364 | for project in projects: |
@@ -780,8 +781,8 @@ later is required to fix a server side protocol bug. | |||
780 | # generate a new args list to represent the opened projects. | 781 | # generate a new args list to represent the opened projects. |
781 | # TODO: make this more reliable -- if there's a project name/path overlap, | 782 | # TODO: make this more reliable -- if there's a project name/path overlap, |
782 | # this may choose the wrong project. | 783 | # this may choose the wrong project. |
783 | args = [os.path.relpath(self.manifest.paths[p].worktree, os.getcwd()) | 784 | args = [os.path.relpath(self.manifest.paths[path].worktree, os.getcwd()) |
784 | for p in opened_projects] | 785 | for path in opened_projects] |
785 | if not args: | 786 | if not args: |
786 | return | 787 | return |
787 | all_projects = self.GetProjects(args, | 788 | all_projects = self.GetProjects(args, |