/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 breezy/plugins/fastimport/cache_manager.py

  • Committer: Jelmer Vernooij
  • Date: 2018-04-02 00:52:27 UTC
  • mfrom: (6939 work)
  • mto: This revision was merged to the branch mainline in revision 7274.
  • Revision ID: jelmer@jelmer.uk-20180402005227-pecflp1mvdjrjqd6
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
 
125
125
    def add_mark(self, mark, commit_id):
126
126
        assert mark[0] != ':'
 
127
        is_new = (mark in self.marks)
127
128
        self.marks[mark] = commit_id
 
129
        return is_new
128
130
 
129
131
    def lookup_committish(self, committish):
130
132
        """Resolve a 'committish' to a revision id.