| Home | Trees | Index | Help | 
|---|
| Package svnmailer :: Module subversion :: Class VersionedPathDescriptor | 
 | 
    object --+    
             |    
PathDescriptor --+
                 |
                VersionedPathDescriptor
Describes the changes of a particular path
This is a wrapper around svn_repos.ChangedPath instances. outside of this module one shouldn't need to deal with these.
| Method Summary | |
|---|---|
| Initialization | |
| str | Returns the original path | 
| int | Returns the revision number of the original path | 
| dict | Returns the dict of modified properties | 
| bool | Returns whether the path has content changes | 
| bool | Returns whether the path has property changes | 
| Custom initialization | |
| bool | Returns whether one of the revisions is a binary file | 
| Returns whether the path is a directory | |
| bool | Returns whether the path was added | 
| bool | Returns whether the path was copied | 
| bool | Returns whether the path was deleted | 
| bool | Returns whether the path was just modified | 
| Inherited from PathDescriptor | |
| Initialization | |
| int | Compares two change objects by path | 
| Inherited from object | |
| x.__delattr__('name') <==> del x.name... | |
| x.__getattribute__('name') <==> x.name... | |
| x.__hash__() <==> hash(x)... | |
| helper for pickle... | |
| helper for pickle... | |
| x.__repr__() <==> repr(x)... | |
| x.__setattr__('name', value) <==> x.name = value... | |
| x.__str__() <==> str(x)... | |
| Inherited from type | |
| T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Instance Variable Summary | |
|---|---|
| svn_repos.ChangedPath | _change: The change | 
| int | revision: The revision number | 
| Inherited from PathDescriptor | |
| str | path: The path, we're talking about | 
| Repository | repos: The repository this change belongs to | 
| Method Details | 
|---|
| _init(self, revision, change)Initialization
 | 
| getBasePath(self)Returns the original path
 | 
| getBaseRevision(self)Returns the revision number of the original path
 | 
| getModifiedProperties(self)Returns the dict of modified properties The dict contains the property names as keys and a 2-tuple as value where the first element contains the old property value and second element the new one. 
 | 
| hasContentChanges(self)Returns whether the path has content changes
 | 
| hasPropertyChanges(self)Returns whether the path has property changes
 | 
| init(self, *args, **kwargs)Custom initialization
 | 
| isBinary(self)Returns whether one of the revisions is a binary file
 | 
| isDirectory(self)Returns whether the path is a directory | 
| wasAdded(self)Returns whether the path was added
 | 
| wasCopied(self)Returns whether the path was copied
 | 
| wasDeleted(self)Returns whether the path was deleted
 | 
| wasModified(self)Returns whether the path was just modified
 | 
| Instance Variable Details | 
|---|
| _changeThe change
 | 
| revisionThe revision number
 | 
| Home | Trees | Index | Help | 
|---|
| Generated by Epydoc 2.0 on Sun Sep 25 20:49:11 2005 | http://epydoc.sf.net |