/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/tests/test_dirstate.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-04 00:08:59 UTC
  • mfrom: (7122.6.12 win-symlink-warning)
  • Revision ID: breezy.the.bot@gmail.com-20190604000859-2xwms4tkctrj83dm
Allow symbolic links to exist when checking out trees on Windows.

Merged from https://code.launchpad.net/~jelmer/brz/win-symlink-warning/+merge/363900

Show diffs side-by-side

added added

removed removed

Lines of Context:
1826
1826
class InstrumentedDirState(dirstate.DirState):
1827
1827
    """An DirState with instrumented sha1 functionality."""
1828
1828
 
1829
 
    def __init__(self, path, sha1_provider, worth_saving_limit=0):
1830
 
        super(InstrumentedDirState, self).__init__(path, sha1_provider,
1831
 
                                                   worth_saving_limit=worth_saving_limit)
 
1829
    def __init__(self, path, sha1_provider, worth_saving_limit=0,
 
1830
                 use_filesystem_for_exec=True):
 
1831
        super(InstrumentedDirState, self).__init__(
 
1832
            path, sha1_provider, worth_saving_limit=worth_saving_limit,
 
1833
            use_filesystem_for_exec=use_filesystem_for_exec)
1832
1834
        self._time_offset = 0
1833
1835
        self._log = []
1834
1836
        # member is dynamically set in DirState.__init__ to turn on trace