def to_sxml(self): return (call_with_info(lambda rev: [sxml.branch(repo=self.repository.name, module=self.module, revision=rev)], self.srcdir, 'last changed rev') or [sxml.branch(repo=self.repository.name, module=self.module)])
def to_sxml(self): return ([sxml.branch(module=self.module, repo=self.repository.name, version=self.version, size=str(self.source_size), hash=self.source_hash)] + [[sxml.patch(file=patch, strip=str(strip))] for patch, strip in self.patches])
def to_sxml(self): attrs = {} if self.revspec: attrs = self.revspec()[0] return [sxml.branch(repo=self.repository.name, module=self.module, revid=self.tree_id(), **attrs)]
def to_sxml(self): return ([ sxml.branch(module=self.module, repo=self.repository.name, version=self.version, size=str(self.source_size), hash=self.source_hash) ] + [[sxml.patch(file=patch, strip=str(strip))] for patch, strip in self.patches])
def to_sxml(self): attrs = {} if self.revspec: attrs = self.revspec()[0] return [ sxml.branch(repo=self.repository.name, module=self.module, revid=self.tree_id(), **attrs) ]
def to_sxml(self): attrs = {} if self.branch: attrs['revision'] = self.branch if self.checkoutdir: attrs['checkoutdir'] = self.checkoutdir if self.subdir: attrs['subdir'] = self.subdir return [sxml.branch(repo=self.repository.name, module=self.module, tag=self.tree_id(), **attrs)]
def to_sxml(self): return ([sxml.branch(module=self.module, repo=self.repository, version=self.version)])
def to_sxml(self): # FIXME: fix the current revision return [sxml.branch(repo=self.repository.name, module=self.module)]
def to_sxml(self): return ([sxml.branch(repo=self.repository.name, version=self.version)])