hunk.code_window:         Register a package to a repository.
           """
           dist = self._poetry.file.parent / "dist"
           file = dist / "{}-{}.tar.gz".format(self._package.name, self._package.version)
           if not file.exists():
               raise RuntimeError('"{0}" does not exist.'.format(file.name))
           data = self.post_data(file)
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:         file = dist / "{}-{}.tar.gz".format(
               self._package.name, normalize_version(self._package.version.text)
           )
  
hunk.file_path: poetry/masonry/publishing/uploader.py
hunk.type: replace