mercurial/revlogutils/deltas.py
changeset 47463 f8330a3fc39f
parent 47462 93f4e183b3f5
child 48564 c514936d92b4
equal deleted inserted replaced
47462:93f4e183b3f5 47463:f8330a3fc39f
  1068         `excluded_bases` is an optional set of revision that cannot be used as
  1068         `excluded_bases` is an optional set of revision that cannot be used as
  1069         a delta base. Use this to recompute delta suitable in censor or strip
  1069         a delta base. Use this to recompute delta suitable in censor or strip
  1070         context.
  1070         context.
  1071         """
  1071         """
  1072         if target_rev is None:
  1072         if target_rev is None:
  1073             curr = len(self.revlog)
  1073             target_rev = len(self.revlog)
  1074 
  1074 
  1075         if not revinfo.textlen:
  1075         if not revinfo.textlen:
  1076             return self._fullsnapshotinfo(fh, revinfo, target_rev)
  1076             return self._fullsnapshotinfo(fh, revinfo, target_rev)
  1077 
  1077 
  1078         if excluded_bases is None:
  1078         if excluded_bases is None: