##// END OF EJS Templates
context: improve arg-checking assert.
Greg Ward -
r9024:10532b29 default
parent child Browse files
Show More
@@ -199,7 +199,9 b' class filectx(object):'
199
199
200 assert (changeid is not None
200 assert (changeid is not None
201 or fileid is not None
201 or fileid is not None
202 or changectx is not None)
202 or changectx is not None), \
203 ("bad args: changeid=%r, fileid=%r, changectx=%r"
204 % (changeid, fileid, changectx))
203
205
204 if filelog:
206 if filelog:
205 self._filelog = filelog
207 self._filelog = filelog
General Comments 0
You need to be logged in to leave comments. Login now