Преглед на файлове

Merge "_CheckDirReference: log actual error before suggesting --force-sync"

Dan Willemsen преди 9 години
родител
ревизия
e02c17c9ea
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      project.py

+ 1 - 0
project.py

@@ -2400,6 +2400,7 @@ class Project(object):
         src = os.path.realpath(os.path.join(srcdir, name))
         # Fail if the links are pointing to the wrong place
         if src != dst:
+          _error('%s is different in %s vs %s', name, destdir, srcdir)
           raise GitError('--force-sync not enabled; cannot overwrite a local '
                          'work tree. If you\'re comfortable with the '
                          'possibility of losing the work tree\'s git metadata,'