call site 1 for path.svnurl.relto
path/testing/fscommon.py - line 214
211
212
213
214
215
216
217
   def test_move_directory(self):
       source = self.root.join('sampledir') 
       dest = self.root.join('moveddir') 
->     source.move(dest)
       assert dest.check(dir=1)
       assert dest.join('otherfile').check(file=1) 
       assert not source.join('sampledir').check()
path/common.py - line 365
363
364
365
366
367
368
369
370
371
   def move(self, target):
       """ move this path to target. """
->     if target.relto(self):
           raise py.error.EINVAL(target, "cannot move path into a subdirectory of itself")
       try:
           self.rename(target)
       except py.error.EXDEV:  # invalid cross-device link
           self.copy(target)
           self.remove()