mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-08 16:14:26 +00:00
Merge branch 'stable'
* stable: Fix mirror clients with no worktree
This commit is contained in:
commit
e7a3bcbbb8
@ -237,7 +237,10 @@ class Project(object):
|
|||||||
self.name = name
|
self.name = name
|
||||||
self.remote = remote
|
self.remote = remote
|
||||||
self.gitdir = gitdir.replace('\\', '/')
|
self.gitdir = gitdir.replace('\\', '/')
|
||||||
self.worktree = worktree.replace('\\', '/')
|
if worktree:
|
||||||
|
self.worktree = worktree.replace('\\', '/')
|
||||||
|
else:
|
||||||
|
self.worktree = None
|
||||||
self.relpath = relpath
|
self.relpath = relpath
|
||||||
self.revisionExpr = revisionExpr
|
self.revisionExpr = revisionExpr
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user