Package conary :: Package conaryclient :: Module clone
[hide private]
[frames] | no frames]

Module clone

source code

Implementation of "clone" + "promote" functionality.

Cloning creates a copy of a trove on a related branch, with the only link back to the original branch being through the "clonedFrom" link.

Classes [hide private]
  CloneJob
  ClientClone
  CloneOptions
  TroveCache
  CloneChooser
  CloneMap
  LeafMap
  CloneError
  CloneIncomplete
Functions [hide private]
 
_iterAllVersions(trv, rewriteTroveInfo=True) source code
 
_updateVersion(trv, mark, newVersion)
Update version for some piece of troveInfo.
source code
 
_computeLabelPath(name, labelPathMap) source code
 
_getSourceName(trove) source code
 
_logMe(msg) source code
Variables [hide private]
  V_LOADED = 0
  V_BREQ = 1
  V_REFTRV = 2
  DEFAULT_MESSAGE = 1
  MAX_CLONE_FILES = 5000
  CHANGESET_MULTIPLE = 3
Function Details [hide private]

_updateVersion(trv, mark, newVersion)

source code 
Update version for some piece of troveInfo. If newVersion is None, just erase this version.