Show More
@@ -77,7 +77,7 b' class basectx(object):' | |||||
77 | return self.rev() |
|
77 | return self.rev() | |
78 |
|
78 | |||
79 | def __repr__(self): |
|
79 | def __repr__(self): | |
80 | return "<%s %s>" % (type(self).__name__, str(self)) |
|
80 | return r"<%s %s>" % (type(self).__name__, str(self)) | |
81 |
|
81 | |||
82 | def __eq__(self, other): |
|
82 | def __eq__(self, other): | |
83 | try: |
|
83 | try: | |
@@ -1403,7 +1403,7 b' class committablectx(basectx):' | |||||
1403 | self._extra['branch'] = 'default' |
|
1403 | self._extra['branch'] = 'default' | |
1404 |
|
1404 | |||
1405 | def __str__(self): |
|
1405 | def __str__(self): | |
1406 | return str(self._parents[0]) + "+" |
|
1406 | return str(self._parents[0]) + r"+" | |
1407 |
|
1407 | |||
1408 | def __nonzero__(self): |
|
1408 | def __nonzero__(self): | |
1409 | return True |
|
1409 | return True |
General Comments 0
You need to be logged in to leave comments.
Login now