diff options
author | Simran Basi <sbasi@google.com> | 2015-09-03 10:47:44 -0700 |
---|---|---|
committer | Simran Basi <sbasi@google.com> | 2015-09-03 10:47:44 -0700 |
commit | ba72d8301e33344b3b11e286619c99568c37db1a (patch) | |
tree | 4833639da39e34dc4388f06b1eccb541d74589db /subcmds | |
parent | 9ff2ece6abc5d0d4a69c2f086209f107fd4f04be (diff) | |
download | git-repo-ba72d8301e33344b3b11e286619c99568c37db1a.tar.gz |
GITC: Fix repo sync.v1.12.29
Fixing http://b/23785024 by calling os.getcwd() because variable
cwd no longer exists.
Change-Id: I21ff7d059e072f9f60726db76b67587a92c878ad
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 2e9bbe70..7b44dbd8 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -695,7 +695,7 @@ later is required to fix a server side protocol bug. | |||
695 | # generate a new args list to represent the opened projects. | 695 | # generate a new args list to represent the opened projects. |
696 | args = [] | 696 | args = [] |
697 | for proj in opened_projects: | 697 | for proj in opened_projects: |
698 | args.append(os.path.relpath(proj.worktree, cwd)) | 698 | args.append(os.path.relpath(proj.worktree, os.getcwd())) |
699 | if not args: | 699 | if not args: |
700 | return | 700 | return |
701 | all_projects = self.GetProjects(args, | 701 | all_projects = self.GetProjects(args, |