Show More
@@ -856,6 +856,9 b' class commitablectx(basectx):' | |||||
856 | if self._extra['branch'] == '': |
|
856 | if self._extra['branch'] == '': | |
857 | self._extra['branch'] = 'default' |
|
857 | self._extra['branch'] = 'default' | |
858 |
|
858 | |||
|
859 | def __str__(self): | |||
|
860 | return str(self._parents[0]) + "+" | |||
|
861 | ||||
859 | class workingctx(commitablectx): |
|
862 | class workingctx(commitablectx): | |
860 | """A workingctx object makes access to data related to |
|
863 | """A workingctx object makes access to data related to | |
861 | the current working directory convenient. |
|
864 | the current working directory convenient. | |
@@ -869,9 +872,6 b' class workingctx(commitablectx):' | |||||
869 | changes=None): |
|
872 | changes=None): | |
870 | super(workingctx, self).__init__(repo, text, user, date, extra, changes) |
|
873 | super(workingctx, self).__init__(repo, text, user, date, extra, changes) | |
871 |
|
874 | |||
872 | def __str__(self): |
|
|||
873 | return str(self._parents[0]) + "+" |
|
|||
874 |
|
||||
875 | def __nonzero__(self): |
|
875 | def __nonzero__(self): | |
876 | return True |
|
876 | return True | |
877 |
|
877 |
General Comments 0
You need to be logged in to leave comments.
Login now