# HG changeset patch # User Augie Fackler # Date 1508986649 14400 # Node ID 27c4daf50520fe8989cd5ee561f4e399961c469e # Parent ed7c66b8cea69c07dac9404c24fd89121d0bebc1 svnrepo: use configlist instead of rolling it ourselves diff --git a/hgsubversion/svnrepo.py b/hgsubversion/svnrepo.py --- a/hgsubversion/svnrepo.py +++ b/hgsubversion/svnrepo.py @@ -151,12 +151,9 @@ class svnremoterepo(peerrepository): @property def password_stores(self): - pws = self.ui.config('hgsubversion', 'password_stores', None) - if pws is not None: - # Split pws at comas and strip neighbouring whitespace (whitespace - # at the beginning and end of pws has already been removed by the - # config parser). - return re.split(r'\s*,\s*', pws) + pws = self.ui.configlist('hgsubversion', 'password_stores') + if pws: + return pws return None @propertycache