/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 processors/generic_processor.py

  • Committer: Brian de Alwis
  • Date: 2009-01-21 17:20:26 UTC
  • mto: (0.64.109 fastimport_trunk)
  • mto: This revision was merged to the branch mainline in revision 6631.
  • Revision ID: bsd@manumitting.com-20090121172026-ng75vsu3j6215b9p
Reset takes a <commitsh> and not just a revid; added note to
this effect, and left marker that this functionality should
be generalized.

Show diffs side-by-side

added added

removed removed

Lines of Context:
546
546
            self._set_tag(cmd.ref[len('refs/tags/'):], cmd.from_)
547
547
            return
548
548
 
549
 
 
 
549
        # FIXME: cmd.from_ is a committish and thus could reference
 
550
        # another branch.  Create a method for resolving commitsh's.
550
551
        if cmd.from_ is not None:
551
552
            self.cache_mgr.last_ref = cmd.ref
552
553
            self.cache_mgr.heads.setdefault(cmd.from_, set()).add(cmd.ref)