##// END OF EJS Templates
obsutil: drop deprecated methods (API)...
Matt Harbison -
r35911:78f33ded default
parent child Browse files
Show More
@@ -33,12 +33,6 b' class marker(object):'
33 33 return False
34 34 return self._data == other._data
35 35
36 def precnode(self):
37 msg = ("'marker.precnode' is deprecated, "
38 "use 'marker.prednode'")
39 util.nouideprecwarn(msg, '4.4')
40 return self.prednode()
41
42 36 def prednode(self):
43 37 """Predecessor changeset node identifier"""
44 38 return self._data[0]
@@ -106,15 +100,6 b' def closestpredecessors(repo, nodeid):'
106 100 else:
107 101 stack.append(precnodeid)
108 102
109 def allprecursors(*args, **kwargs):
110 """ (DEPRECATED)
111 """
112 msg = ("'obsutil.allprecursors' is deprecated, "
113 "use 'obsutil.allpredecessors'")
114 util.nouideprecwarn(msg, '4.4')
115
116 return allpredecessors(*args, **kwargs)
117
118 103 def allpredecessors(obsstore, nodes, ignoreflags=0):
119 104 """Yield node for every precursors of <nodes>.
120 105
General Comments 0
You need to be logged in to leave comments. Login now