##// END OF EJS Templates
memctx: simplify constructor
Patrick Mezard -
r14528:0bd69e37 default
parent child Browse files
Show More
@@ -1008,9 +1008,7 b' class memctx(object):'
1008 self._filectxfn = filectxfn
1008 self._filectxfn = filectxfn
1009
1009
1010 self._extra = extra and extra.copy() or {}
1010 self._extra = extra and extra.copy() or {}
1011 if 'branch' not in self._extra:
1011 if self._extra.get('branch', '') == '':
1012 self._extra['branch'] = 'default'
1013 elif self._extra.get('branch') == '':
1014 self._extra['branch'] = 'default'
1012 self._extra['branch'] = 'default'
1015
1013
1016 def __str__(self):
1014 def __str__(self):
General Comments 0
You need to be logged in to leave comments. Login now