~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff.py

  • Committer: Matt McClure
  • Date: 2008-04-03 03:05:09 UTC
  • mto: (3452.1.1 bzr.dev.mlm)
  • mto: This revision was merged to the branch mainline in revision 3493.
  • Revision ID: mlm@aya.yale.edu-20080403030509-9mj65c4a5qcb923z
Toward a more acceptable patch for bug 209281.

Show diffs side-by-side

added added

removed removed

Lines of Context:
788
788
        return proc.wait()
789
789
 
790
790
    def _try_symlink_root(self, tree, prefix):
791
 
        if not (getattr(tree, 'abspath', None) is not None
792
 
                and osutils.has_symlinks()):
 
791
        if (getattr(tree, 'abspath', None) is None
 
792
            or not osutils.has_symlinks()
 
793
            or sys.platform == 'cygwin'):
793
794
            return False
794
795
        try:
795
796
            os.symlink(tree.abspath(''), osutils.pathjoin(self._root, prefix))