equal
deleted
inserted
replaced
1006 files = sorted(set(files)) |
1006 files = sorted(set(files)) |
1007 self._status = [files, [], [], [], []] |
1007 self._status = [files, [], [], [], []] |
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): |
1017 return str(self._parents[0]) + "+" |
1015 return str(self._parents[0]) + "+" |
1018 |
1016 |