/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/history.py

  • Committer: Robey Pointer
  • Date: 2007-05-21 07:43:39 UTC
  • Revision ID: robey@lag.net-20070521074339-3wh6r0grwfzkvspj
bug 98826: allow "head:" to be used as a valid revid to represent the current
branch head.

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
        # if a "revid" is actually a dotted revno, convert it to a revid
425
425
        if revid is None:
426
426
            return revid
 
427
        if revid == 'head:':
 
428
            return self._last_revid
427
429
        if self.revno_re.match(revid):
428
430
            revid = self._revno_revid[revid]
429
431
        return revid