Package pybaz :: Class SourceTree
[frames] | no frames]

Class SourceTree

source code

object --+                
         |                
basestring --+            
             |            
           str --+        
                 |        
 pathname.PathName --+    
                     |    
      pathname.DirName --+
                         |
                        SourceTree
Known Subclasses:
ArchSourceTree, ForeignTree

Abstract base class for `ForeignTree` and `ArchSourceTree`.



Instance Methods

Inherited from pathname.PathName: __div__, __repr__, abspath, basename, dirname, realpath, splitname

Inherited from str: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __rmod__, __rmul__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, index, isalnum, isalpha, isdigit, islower, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__

Static Methods
 
__new__(cls, root=None)
Create a source tree object for the given root path.
Properties

Inherited from object: __class__

Method Details

__new__(cls, root=None)
Static Method

 
Create a source tree object for the given root path.

`ForeignTree` if root does not point to a Arch source tree.
`LibraryTree` if root is a tree in the revision library. `WorkingTree`
if root is a Arch source tree outside of the revision library.

If root is omitted, use the tree-root of the current working directory.

Overrides: pathname.PathName.__new__