~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Aaron Bentley
  • Date: 2008-02-28 01:33:35 UTC
  • mfrom: (3240 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3241.
  • Revision ID: aaron@aaronbentley.com-20080228013335-a6izyivlpd7ht72z
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2771
2771
        
2772
2772
 
2773
2773
    def initialize(self, a_bzrdir, revision_id=None, from_branch=None,
2774
 
                   accelerator_tree=None):
 
2774
                   accelerator_tree=None, hardlink=False):
2775
2775
        """See WorkingTreeFormat.initialize()."""
2776
2776
        if not isinstance(a_bzrdir.transport, LocalTransport):
2777
2777
            raise errors.NotLocalUrl(a_bzrdir.transport.base)
2864
2864
                             self._lock_class)
2865
2865
 
2866
2866
    def initialize(self, a_bzrdir, revision_id=None, from_branch=None,
2867
 
                   accelerator_tree=None):
 
2867
                   accelerator_tree=None, hardlink=False):
2868
2868
        """See WorkingTreeFormat.initialize().
2869
2869
        
2870
2870
        :param revision_id: if supplied, create a working tree at a different
2873
2873
            contents more quickly than the revision tree, i.e. a workingtree.
2874
2874
            The revision tree will be used for cases where accelerator_tree's
2875
2875
            content is different.
 
2876
        :param hardlink: If true, hard-link files from accelerator_tree,
 
2877
            where possible.
2876
2878
        """
2877
2879
        if not isinstance(a_bzrdir.transport, LocalTransport):
2878
2880
            raise errors.NotLocalUrl(a_bzrdir.transport.base)