Show More
@@ -851,6 +851,12 b' class localrepository(object):' | |||||
851 | f = f[1:] |
|
851 | f = f[1:] | |
852 | return filelog.filelog(self.svfs, f) |
|
852 | return filelog.filelog(self.svfs, f) | |
853 |
|
853 | |||
|
854 | def parents(self, changeid=None): | |||
|
855 | '''get list of changectxs for parents of changeid''' | |||
|
856 | msg = 'repo.parents() is deprecated, use repo[%r].parents()' % changeid | |||
|
857 | self.ui.deprecwarn(msg, '3.7') | |||
|
858 | return self[changeid].parents() | |||
|
859 | ||||
854 | def changectx(self, changeid): |
|
860 | def changectx(self, changeid): | |
855 | return self[changeid] |
|
861 | return self[changeid] | |
856 |
|
862 |
General Comments 0
You need to be logged in to leave comments.
Login now