76
77
job: given a path (either relative to cwd or absolute), work out
77
78
if it is inside a branch and return the path relative to the base.
83
83
dtmp = tempfile.mkdtemp()
84
84
# On Mac OSX, /tmp actually expands to /private/tmp
91
91
# check paths inside dtmp while standing outside it
95
95
self.assertEqual(rp(dtmp), '')