Show More
@@ -2276,7 +2276,7 b' class Repository(Base, BaseModel):' | |||
|
2276 | 2276 | # use no-cache version here |
|
2277 | 2277 | scm_repo = self.scm_instance(cache=False, config=config) |
|
2278 | 2278 | |
|
2279 | empty = scm_repo.is_empty() | |
|
2279 | empty = not scm_repo or scm_repo.is_empty() | |
|
2280 | 2280 | if not empty: |
|
2281 | 2281 | cs_cache = scm_repo.get_commit( |
|
2282 | 2282 | pre_load=["author", "date", "message", "parents"]) |
General Comments 0
You need to be logged in to leave comments.
Login now