##// END OF EJS Templates
context: remove unwanted assignments in basectx.__new__() (API)...
Martin von Zweigbergk -
r37188:d7f3fdab default
parent child Browse files
Show More
@@ -66,13 +66,7 b' class basectx(object):'
66 if isinstance(changeid, basectx):
66 if isinstance(changeid, basectx):
67 return changeid
67 return changeid
68
68
69 o = super(basectx, cls).__new__(cls)
69 return super(basectx, cls).__new__(cls)
70
71 o._repo = repo
72 o._rev = nullrev
73 o._node = nullid
74
75 return o
76
70
77 def __bytes__(self):
71 def __bytes__(self):
78 return short(self.node())
72 return short(self.node())
General Comments 0
You need to be logged in to leave comments. Login now