~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-24 19:15:21 UTC
  • mfrom: (3136.1.11 hardlinks2)
  • Revision ID: pqm@pqm.ubuntu.com-20080224191521-mrdhiyn59r5q2z6l
Add hardlink support to checkout and branch (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2763
2763
        
2764
2764
 
2765
2765
    def initialize(self, a_bzrdir, revision_id=None, from_branch=None,
2766
 
                   accelerator_tree=None):
 
2766
                   accelerator_tree=None, hardlink=False):
2767
2767
        """See WorkingTreeFormat.initialize()."""
2768
2768
        if not isinstance(a_bzrdir.transport, LocalTransport):
2769
2769
            raise errors.NotLocalUrl(a_bzrdir.transport.base)
2856
2856
                             self._lock_class)
2857
2857
 
2858
2858
    def initialize(self, a_bzrdir, revision_id=None, from_branch=None,
2859
 
                   accelerator_tree=None):
 
2859
                   accelerator_tree=None, hardlink=False):
2860
2860
        """See WorkingTreeFormat.initialize().
2861
2861
        
2862
2862
        :param revision_id: if supplied, create a working tree at a different
2865
2865
            contents more quickly than the revision tree, i.e. a workingtree.
2866
2866
            The revision tree will be used for cases where accelerator_tree's
2867
2867
            content is different.
 
2868
        :param hardlink: If true, hard-link files from accelerator_tree,
 
2869
            where possible.
2868
2870
        """
2869
2871
        if not isinstance(a_bzrdir.transport, LocalTransport):
2870
2872
            raise errors.NotLocalUrl(a_bzrdir.transport.base)