Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 14905:207935cda6dc
localrepo: make requirements attribute of newly-created repos contain a set
This is for internal consistency, as this attribute typically contains a set
author | Andrew Pritchard <andrewp@fogcreek.com> |
---|---|
date | Wed, 20 Jul 2011 18:23:06 -0400 |
parents | ff2d907a5af8 |
children | 4bf9493e7b07 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Jul 22 16:46:22 2011 -0500 +++ b/mercurial/localrepo.py Wed Jul 20 18:23:06 2011 -0400 @@ -63,6 +63,7 @@ ) if self.ui.configbool('format', 'generaldelta', False): requirements.append("generaldelta") + requirements = set(requirements) else: raise error.RepoError(_("repository %s not found") % path) elif create: