summaryrefslogtreecommitdiffstats
path: root/subcmds/gitc_init.py
diff options
context:
space:
mode:
authorWoody Lin <woodylin@google.com>2022-11-03 19:46:38 +0800
committerWoody Lin <woodylin@google.com>2022-11-04 17:30:40 +0000
commit859d3d958057e35b618e8cca209a85317d49a974 (patch)
treed2d89fd4069d553e3019e2954cbaa9e6b6c4f354 /subcmds/gitc_init.py
parentfa8d939c8f6a3d25d9a203f28b16a71d891dcc1c (diff)
downloadgit-repo-859d3d958057e35b618e8cca209a85317d49a974.tar.gz
GitcInit: fix gitc-init failurev2.29.6
Aligns argument usage of refactored GitcManifest (8c1e9cbef "manifest_xml: refactor manifest parsing from client management") to fix the `repo gitc-init` error: `fatal: manifest_file must be abspath`. Change-Id: I1728032cce3f39ed1077bbb7ef714410c2c49e1a Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/350374 Tested-by: Woody Lin <woodylin@google.com> Reviewed-by: LaMont Jones <lamontjones@google.com> Reviewed-by: Xin Li <delphij@google.com>
Diffstat (limited to 'subcmds/gitc_init.py')
-rw-r--r--subcmds/gitc_init.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py
index 1d81baf5..e3a5813d 100644
--- a/subcmds/gitc_init.py
+++ b/subcmds/gitc_init.py
@@ -68,7 +68,8 @@ use for this GITC client.
68 sys.exit(1) 68 sys.exit(1)
69 manifest_file = opt.manifest_file 69 manifest_file = opt.manifest_file
70 70
71 manifest = GitcManifest(self.repodir, gitc_client) 71 manifest = GitcManifest(self.repodir, os.path.join(self.client_dir,
72 '.manifest'))
72 manifest.Override(manifest_file) 73 manifest.Override(manifest_file)
73 gitc_utils.generate_gitc_manifest(None, manifest) 74 gitc_utils.generate_gitc_manifest(None, manifest)
74 print('Please run `cd %s` to view your GITC client.' % 75 print('Please run `cd %s` to view your GITC client.' %