Mercurial > kallithea
diff rhodecode/lib/vcs/backends/hg/repository.py @ 3835:42981614c624 beta
vcs: fixed issues with calling get_changesets method doesn't
throws EmptyRepositoryError when called on empty repos
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 10 May 2013 14:35:02 +0200 |
parents | a5c234e934c5 |
children | 5070c840dc23 |
line wrap: on
line diff
--- a/rhodecode/lib/vcs/backends/hg/repository.py Thu May 09 22:51:53 2013 +0200 +++ b/rhodecode/lib/vcs/backends/hg/repository.py Fri May 10 14:35:02 2013 +0200 @@ -78,7 +78,7 @@ @property def _empty(self): """ - Checks if repository is empty without any changesets + Checks if repository is empty ie. without any changesets """ # TODO: Following raises errors when using InMemoryChangeset... # return len(self._repo.changelog) == 0