Package moap :: Package vcs :: Module svn :: Class SVN
[hide private]
[frames] | no frames]

Class SVN

source code

extern.log.log.Loggable --+    
                          |    
                    vcs.VCS --+
                              |
                             SVN

Instance Methods [hide private]
 
getNotIgnored(self)
Returns: list of paths unknown to the VCS, relative to the base path
source code
 
ignore(self, paths, commit=True)
Make the VCS ignore the given list of paths.
source code
bool
commit(self, paths, message)
Commit the given list of paths, with the given message.
source code
str
diff(self, path)
Return a diff for the given path.
source code
 
scrubPropertyChanges(self, output)
Scrub the given diff output from property changes.
source code
dict of str -> list of str
getPropertyChanges(self, path)
Get a list of property changes for the given path and subpaths.
source code
 
_getByStatus(self, path, status) source code
list of str
getAdded(self, path)
Get a list of paths newly added under the given path.
source code
list of str
getDeleted(self, path)
Get a list of paths deleted under the given path.
source code
 
update(self, path)
Update the given path to the latest version.
source code

Inherited from vcs.VCS: __init__, createTree, getChanges, getFileMatcher

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  name = 'Subversion'

Inherited from vcs.VCS: logCategory

Method Details [hide private]

getNotIgnored(self)

source code 
Returns:
list of paths unknown to the VCS, relative to the base path
Overrides: vcs.VCS.getNotIgnored
(inherited documentation)

ignore(self, paths, commit=True)

source code 

Make the VCS ignore the given list of paths.

Parameters:
  • paths - list of paths, relative to the checkout directory
  • commit - if True, commit the ignore updates.
Overrides: vcs.VCS.ignore
(inherited documentation)

commit(self, paths, message)

source code 

Commit the given list of paths, with the given message. Note that depending on the VCS, parents that were just added may need to be commited as well.

Returns: bool
Overrides: vcs.VCS.commit
(inherited documentation)

diff(self, path)

source code 

Return a diff for the given path.

Returns: str
the diff
Overrides: vcs.VCS.diff
(inherited documentation)

getPropertyChanges(self, path)

source code 

Get a list of property changes for the given path and subpaths. These are metadata changes to files, not content changes.

Returns: dict of str -> list of str
dict of path -> list of property names
Overrides: vcs.VCS.getPropertyChanges
(inherited documentation)

_getByStatus(self, path, status)

source code 
Parameters:
  • status - one character indicating the status we want to get all paths for.

getAdded(self, path)

source code 

Get a list of paths newly added under the given path.

Returns: list of str
list of paths
Overrides: vcs.VCS.getAdded
(inherited documentation)

getDeleted(self, path)

source code 

Get a list of paths deleted under the given path.

Returns: list of str
list of paths
Overrides: vcs.VCS.getDeleted
(inherited documentation)

update(self, path)

source code 

Update the given path to the latest version.

Overrides: vcs.VCS.update
(inherited documentation)