mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
GITC: Fix repo sync.
Fixing http://b/23785024 by calling os.getcwd() because variable cwd no longer exists. Change-Id: I21ff7d059e072f9f60726db76b67587a92c878ad
This commit is contained in:
parent
9ff2ece6ab
commit
ba72d8301e
@ -695,7 +695,7 @@ later is required to fix a server side protocol bug.
|
|||||||
# generate a new args list to represent the opened projects.
|
# generate a new args list to represent the opened projects.
|
||||||
args = []
|
args = []
|
||||||
for proj in opened_projects:
|
for proj in opened_projects:
|
||||||
args.append(os.path.relpath(proj.worktree, cwd))
|
args.append(os.path.relpath(proj.worktree, os.getcwd()))
|
||||||
if not args:
|
if not args:
|
||||||
return
|
return
|
||||||
all_projects = self.GetProjects(args,
|
all_projects = self.GetProjects(args,
|
||||||
|
Loading…
Reference in New Issue
Block a user