##// END OF EJS Templates
fix(repo): fixed empty config case
super-admin -
r5251:711a4878 default
parent child Browse files
Show More
@@ -83,7 +83,7 b' class MercurialRepository(BaseRepository'
83 # NOTE(marcink): since python3 hgsubversion is deprecated.
83 # NOTE(marcink): since python3 hgsubversion is deprecated.
84 # From old installations we might still have this set enabled
84 # From old installations we might still have this set enabled
85 # we explicitly remove this now here to make sure it wont propagate further
85 # we explicitly remove this now here to make sure it wont propagate further
86 if config.get('extensions', 'hgsubversion') is not None:
86 if config and config.get('extensions', 'hgsubversion') is not None:
87 config.drop_option('extensions', 'hgsubversion')
87 config.drop_option('extensions', 'hgsubversion')
88
88
89 self.with_wire = with_wire or {"cache": False} # default should not use cache
89 self.with_wire = with_wire or {"cache": False} # default should not use cache
General Comments 0
You need to be logged in to leave comments. Login now