Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Created June 6, 2013 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovnicraft/5722285 to your computer and use it in GitHub Desktop.
Save ovnicraft/5722285 to your computer and use it in GitHub Desktop.
(Pdb) l
503 return self._new_name[trans_id]
504 except KeyError:
505 try:
506 return os.path.basename(self._tree_id_paths[trans_id])
507 except KeyError:
508 -> raise NoFinalPath(trans_id, self)
509
510 def by_parent(self):
511 """Return a map of parent: children for known parents.
512
513 Only new paths and parents of tree files with assigned ids are used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment