method: path.svnwc.ensure

 ensure that an args-joined path exists (by default as
            a file). if you specify a keyword argument 'directory=True'
            then the path is forced  to be a directory path.
        
    def ensure(self, *args, **kwargs):

origin: path.svnwc

where:

changes in __dict__ after execution:

function source:

def ensure(self, *args, **kwargs):
    """ ensure that an args-joined path exists (by default as
            a file). if you specify a keyword argument 'directory=True'
            then the path is forced  to be a directory path.
        """
    try:
        p = self.join(*args)
        if p.check():
            if p.check(versioned=False):
                p.add()
            return p
        if kwargs.get('dir', 0):
            return p._ensuredirs()
        parent = p.dirpath()
        parent._ensuredirs()
        p.write("")
        p.add()
        return p
    except:
        error_enhance(sys.exc_info())

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py

traceback path.svnwc.ensure.0

called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/test_wccommand.py

traceback path.svnwc.ensure.1

called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/test_wccommand.py

traceback path.svnwc.ensure.2

called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/test_wccommand.py

traceback path.svnwc.ensure.3

called in /home/johnny/projects/merlinux/py/dist/py/path/svn/chartest.py

traceback path.svnwc.ensure.4

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py

traceback path.svnwc.ensure.5