[svn r37927] Some docstrings.

--HG--
branch : trunk
This commit is contained in:
guido
2007-02-04 22:11:56 +01:00
parent a1c7ab69f9
commit a78ad64f9d
2 changed files with 30 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ class SvnWCCommandPath(common.FSPathBase):
return svncommon._escape_helper(cmd)
def dump(self, obj):
""" pickle object into path location"""
return self.localpath.dump(obj)
def svnurl(self):
@@ -162,6 +163,10 @@ class SvnWCCommandPath(common.FSPathBase):
error_enhance(sys.exc_info())
def mkdir(self, *args):
""" create & return the directory joined with args. """
p = self.join(*args)
self._callex(os.mkdir, str(p))
return p
if args:
return self.join(*args).mkdir()
else:
@@ -169,6 +174,7 @@ class SvnWCCommandPath(common.FSPathBase):
return self
def add(self):
""" add ourself to svn """
self._svn('add')
def remove(self, rec=1, force=1):