Home | Trees | Indices | Help |
---|
|
object --+ | ArchiveLocation
A location identified by an url and containing a Bazaar archive.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
url Url of this location. |
|
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
repr(x)
|
Archive that is associated to this location. That's a convenience method based on meta_info() that memoises its result. :rtype: `Archive` |
Create a new master archive at this location. :precondition: not self.is_registered() and not archive.is_registered() and <url does not exist and is writable> :postcondition: archive.is_registered() and archive.location == self and <url exists> :type archive: Archive :type params: ArchiveLocationParams |
Create a new archive mirror at this location. :precondition: not self.is_registered() and <url does not exist and is writable> :postcondition: self.is_registered() and <url exists> :type archive: Archive :type params: ArchiveLocationParams |
Is this location registered? :rtype: bool |
Create a mirrorer to mirror from this location to the target. :param target: specific location the `MirrorMethod` will mirror to. :type target: `ArchiveLocation` :rtype: `MirrorMethod` :raises error.LocationNotRegistered: at least one of self and target is not a registered location. :raises errors.MirrorLocationMismatch: self and target are registered locations for different archives. |
Read a meta-info from this location. :precondition: self.is_registered() :param key: name of the meta-info to read. :type key: str :raises errors.MetaInfoError: this location has no such meta-info. :raises errors.LocationNotRegistered: this location is not registered. :bug: will raise `errors.MetaInfoError` when the location could not be accessed, because baz gives us exit status 1 for ''meta-info not present'' and ''could not access location''. |
Register this location. :precondition: not self.is_registered() :postcondition: self.is_registered() :raises errors.LocationAlreadyRegistered: this location was already registered. |
Property Details |
urlUrl of this location. :type: str
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Sep 5 09:53:13 2007 | http://epydoc.sourceforge.net |