~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-11 08:41:33 UTC
  • mfrom: (1650.1.1 bzr.mbp.info)
  • Revision ID: pqm@pqm.ubuntu.com-20060411084133-90aab62d72535e57
(olaf) much improved bzr info output

Show diffs side-by-side

added added

removed removed

Lines of Context:
566
566
        """Return the ASCII format string that identifies this format."""
567
567
        raise NotImplementedError(self.get_format_string)
568
568
 
 
569
    def get_format_description(self):
 
570
        """Return the short format description for this format."""
 
571
        raise NotImplementedError(self.get_format_string)
 
572
 
569
573
    def initialize(self, a_bzrdir):
570
574
        """Create a branch of this format in a_bzrdir."""
571
575
        raise NotImplementedError(self.initialized)
612
616
     - a branch-lock lock file [ to be shared with the bzrdir ]
613
617
    """
614
618
 
 
619
    def get_format_description(self):
 
620
        """See BranchFormat.get_format_description()."""
 
621
        return "Branch format 4"
 
622
 
615
623
    def initialize(self, a_bzrdir):
616
624
        """Create a branch of this format in a_bzrdir."""
617
625
        mutter('creating branch in %s', a_bzrdir.transport.base)
668
676
    def get_format_string(self):
669
677
        """See BranchFormat.get_format_string()."""
670
678
        return "Bazaar-NG branch format 5\n"
 
679
 
 
680
    def get_format_description(self):
 
681
        """See BranchFormat.get_format_description()."""
 
682
        return "Branch format 5"
671
683
        
672
684
    def initialize(self, a_bzrdir):
673
685
        """Create a branch of this format in a_bzrdir."""
725
737
    def get_format_string(self):
726
738
        """See BranchFormat.get_format_string()."""
727
739
        return "Bazaar-NG Branch Reference Format 1\n"
 
740
 
 
741
    def get_format_description(self):
 
742
        """See BranchFormat.get_format_description()."""
 
743
        return "Checkout reference format 1"
728
744
        
729
745
    def initialize(self, a_bzrdir, target_branch=None):
730
746
        """Create a branch of this format in a_bzrdir."""