mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
list only managed repositories
This commit is contained in:
@@ -273,11 +273,14 @@ public class HgRepositoryHandler implements RepositoryHandler
|
|||||||
Repository repository = buildRepository(repositoryName);
|
Repository repository = buildRepository(repositoryName);
|
||||||
|
|
||||||
if (repository != null)
|
if (repository != null)
|
||||||
|
{
|
||||||
|
if (Util.isNotEmpty(repository.getId()))
|
||||||
{
|
{
|
||||||
repositories.add(repository);
|
repositories.add(repository);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return repositories;
|
return repositories;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user