code: def __init__(self, ppart):
      self.strpath = ppart.firstChild.nodeValue.encode("UTF-8")
      self.action = ppart.getAttribute("action").encode("UTF-8")
      if self.action == "A":
          self.copyfrom_path = ppart.getAttribute(
              "copyfrom-path"
          ).encode("UTF-8")
          if self.copyfrom_path:
              self.copyfrom_rev = int(
                  ppart.getAttribute("copyfrom-rev")
              )
  
imports: import os, sys, time, re
  import py
  from py import path, process
  from py._path import common
  from py._path import svnwc
  from py._path.cacheutil import BuildcostAccessCache, AgingCache
label_desc: Use image node_id 1 to create a new PathEntry object  with example: obj = PathEntry(ppart)