~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

Update to bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
    """
136
136
 
137
137
    prefix = None
 
138
    wants_revision_history = True
138
139
 
139
140
    def __new__(cls, spec, _internal=False):
140
141
        if _internal:
215
216
 
216
217
    def in_history(self, branch):
217
218
        if branch:
218
 
            revs = branch.revision_history()
 
219
            if self.wants_revision_history:
 
220
                revs = branch.revision_history()
 
221
            else:
 
222
                revs = None
219
223
        else:
220
224
            # this should never trigger.
221
225
            # TODO: make it a deprecated code path. RBC 20060928
292
296
                                   your history is very long.
293
297
    """
294
298
    prefix = 'revno:'
 
299
    wants_revision_history = False
295
300
 
296
301
    def _match_on(self, branch, revs):
297
302
        """Lookup a revision by revision number"""