Home | Trees | Index | Help |
---|
Package svnmailer :: Module subversion :: Class _PathChangeDescriptor |
|
object
--+
|
_PathChangeDescriptor
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 | |
int
|
Compares two change objects by path |
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 |
bool
|
Returns whether one of the revisions is a binary file |
bool
|
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 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 |
str |
path : The path, we're talking about |
Repository |
repos : The repository this change belongs to |
int |
revision : The revision number |
Method Details |
---|
__init__(self,
repos,
path,
revision,
change)
Initialization
|
__cmp__(self,
other)
Compares two change objects by path
|
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
|
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
|
pathThe path, we're talking about
|
reposThe repository this change belongs to
|
revisionThe revision number
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 14 16:49:18 2005 | http://epydoc.sf.net |