changeset 14528 | 0bd69e37fd20 |
parent 14518 | a67e866f46f9 |
child 14644 | f3a40fd7008c |
--- a/mercurial/context.py Fri Jun 03 15:08:08 2011 -0500 +++ b/mercurial/context.py Sat Jun 04 15:20:49 2011 +0200 @@ -1008,9 +1008,7 @@ self._filectxfn = filectxfn self._extra = extra and extra.copy() or {} - if 'branch' not in self._extra: - self._extra['branch'] = 'default' - elif self._extra.get('branch') == '': + if self._extra.get('branch', '') == '': self._extra['branch'] = 'default' def __str__(self):