mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Remove astray comma
There's an extra "," at the end of the line, which is causing trouble when the manifest file specifies a revision for a project. Since the default manifest file doesn't specify revisions for the projects, the problem has gone unnoticed. Thanks to Barry Silverman <barry@disus.com> for spotting the issue and providing a patch. Signed-off-by: Marcelo E. Magallon <marcelo.magallon@gmail.com>
This commit is contained in:
parent
24d8dfbc34
commit
21f7385400
@ -940,7 +940,7 @@ class Project(object):
|
|||||||
ref = R_M + self.manifest.branch
|
ref = R_M + self.manifest.branch
|
||||||
|
|
||||||
if IsId(self.revision):
|
if IsId(self.revision):
|
||||||
dst = self.revision + '^0',
|
dst = self.revision + '^0'
|
||||||
self.bare_git.UpdateRef(ref, dst, message = msg, detach = True)
|
self.bare_git.UpdateRef(ref, dst, message = msg, detach = True)
|
||||||
else:
|
else:
|
||||||
remote = self.GetRemote(self.remote.name)
|
remote = self.GetRemote(self.remote.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user