32
32
"""test for branch path lookups
34
34
bzrlib.osutils._relpath do a simple but subtle
35
35
job: given a path (either relative to cwd or absolute), work out
36
36
if it is inside a branch and return the path relative to the base.
42
42
# On Mac OSX, /tmp actually expands to /private/tmp
49
49
# check paths inside dtmp while standing outside it
50
50
self.assertEqual(rp(pathjoin(dtmp, 'foo')), 'foo')