code: def size(self):
          
  
          size = 0
          try:
              tip = self.get_changeset()
              for topnode, dirs, files in tip.walk('/'):
                  for f in files:
                      size += tip.get_file_size(f.path)
                  for dir in dirs:
                      for f in files:
                          size += tip.get_file_size(f.path)
  
          except RepositoryError:
              pass
          return size
docs: Returns combined size in bytes for all repository files