/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/commit.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:
64
64
                     StrictCommitFailed
65
65
                     )
66
66
from .osutils import (get_user_encoding,
 
67
                      has_symlinks,
67
68
                      is_inside_any,
68
69
                      minimum_path_selection,
69
70
                      )
709
710
                # 'missing' path
710
711
                if report_changes:
711
712
                    reporter.missing(new_path)
 
713
                if change[6][0] == 'symlink' and not self.work_tree.supports_symlinks():
 
714
                    trace.warning('Ignoring "%s" as symlinks are not '
 
715
                                  'supported on this filesystem.' % (change[1][0],))
 
716
                    continue
712
717
                deleted_paths.append(change[1][1])
713
718
                # Reset the new path (None) and new versioned flag (False)
714
719
                change = (change[0], (change[1][0], None), change[2],