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
file: [[package]]
  name = "A"
  version = "1.0"
  description = ""
  category = "main"
  optional = false
  python-versions = "*"
  
  [[package]]
  name = "B"
  version = "1.1"
  description = ""
  category = "main"
  optional = false
  python-versions = "*"
  
  [[package]]
  name = "C"
  version = "1.2"
  description = ""
  category = "main"
  optional = false
  python-versions = "~2.7 || ^3.3"
  
  [metadata]
  python-versions = "~2.7 || ^3.4"
  content-hash = "123456789"
  
  [metadata.hashes]
  A = []
  B = []
  C = []
  