diff options
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index d78e761..7005181 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -413,8 +413,9 @@ settings easy. Don't set this attribute. Set .vcs instead, and self._setup_encoding(self.encoding) self._setup_severities(self.severities) self._setup_status(self.active_status, self.inactive_status) - self.vcs = vcs.vcs_by_name(self.vcs_name) - self._setup_user_id(self.user_id) + if self.vcs_name != self.vcs.name: + self.vcs = vcs.vcs_by_name(self.vcs_name) + self._setup_user_id(self.user_id) def save_settings(self): settings = self._get_saved_settings() |