Permalink
Browse files

Merge branch 'stable'

* stable:
  Fix mirror clients with no worktree
  • Loading branch information...
2 parents 25b51d8 + 0ce6ca9 commit e7a3bcbbb8083e812ce07a5459f0e6d30edfb9fe @spearce spearce committed Jan 10, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 project.py
View
@@ -237,7 +237,10 @@ def __init__(self,
self.name = name
self.remote = remote
self.gitdir = gitdir.replace('\\', '/')
- self.worktree = worktree.replace('\\', '/')
+ if worktree:
+ self.worktree = worktree.replace('\\', '/')
+ else:
+ self.worktree = None
self.relpath = relpath
self.revisionExpr = revisionExpr

0 comments on commit e7a3bcb

Please sign in to comment.