Show More
@@ -2095,6 +2095,16 b' class revlog(object):' | |||
|
2095 | 2095 | else: |
|
2096 | 2096 | return rev - 1 |
|
2097 | 2097 | |
|
2098 | def issnapshot(self, rev): | |
|
2099 | """tells whether rev is a snapshot | |
|
2100 | """ | |
|
2101 | if rev == nullrev: | |
|
2102 | return True | |
|
2103 | deltap = self.deltaparent(rev) | |
|
2104 | if deltap == nullrev: | |
|
2105 | return True | |
|
2106 | return False | |
|
2107 | ||
|
2098 | 2108 | def revdiff(self, rev1, rev2): |
|
2099 | 2109 | """return or calculate a delta between two revisions |
|
2100 | 2110 |
General Comments 0
You need to be logged in to leave comments.
Login now