/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to versionedfiles.py

  • Committer: Jelmer Vernooij
  • Date: 2009-03-14 18:17:35 UTC
  • mto: (0.436.139 foreign)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20090314181735-i2u2gb2lv6iyy2no
Add keys to virtual VersionedFiles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        except NoSuchRevision:
32
32
            return None
33
33
 
34
 
    # TODO: annotate, keys
 
34
    # TODO: annotate
 
35
 
 
36
    def keys(self):
 
37
        return self.repository.all_revision_ids()
35
38
 
36
39
 
37
40
class VirtualInventoryTexts(VirtualVersionedFiles):
46
49
        except NoSuchRevision:
47
50
            return None
48
51
 
49
 
    # TODO: annotate, keys
 
52
    def keys(self):
 
53
        return self.repository.all_revision_ids()
 
54
 
 
55
    # TODO: annotate
50
56
 
51
57
 
52
58
class VirtualSignatureTexts(VirtualVersionedFiles):
61
67
        except NoSuchRevision:
62
68
            return None
63
69
 
64
 
    # TODO: annotate, keys
 
70
    def keys(self):
 
71
        return self.repository.all_revision_ids()
 
72
 
 
73
    # TODO: annotate
65
74