Show More
@@ -1610,6 +1610,10 b' class revlog(object):' | |||||
1610 | treated as raw data when applying flag transforms. 'raw' should be set |
|
1610 | treated as raw data when applying flag transforms. 'raw' should be set | |
1611 | to True when generating changegroups or in debug commands. |
|
1611 | to True when generating changegroups or in debug commands. | |
1612 | """ |
|
1612 | """ | |
|
1613 | if raw: | |||
|
1614 | msg = ('revlog.revision(..., raw=True) is deprecated, ' | |||
|
1615 | 'use revlog.rawdata(...)') | |||
|
1616 | util.nouideprecwarn(msg, '5.2', stacklevel=2) | |||
1613 | return self._revisiondata(nodeorrev, _df, raw=raw) |
|
1617 | return self._revisiondata(nodeorrev, _df, raw=raw) | |
1614 |
|
1618 | |||
1615 | def _revisiondata(self, nodeorrev, _df=None, raw=False): |
|
1619 | def _revisiondata(self, nodeorrev, _df=None, raw=False): |
General Comments 0
You need to be logged in to leave comments.
Login now