Merge "Externalize warning message in RefDirectory.delete()"
This commit is contained in:
commit
cf60f26d26
|
@ -705,6 +705,7 @@ truncatedHunkOldLinesMissing=Truncated hunk, at least {0} old lines is missing
|
|||
tSizeMustBeGreaterOrEqual1=tSize must be >= 1
|
||||
unableToCheckConnectivity=Unable to check connectivity.
|
||||
unableToCreateNewObject=Unable to create new object: {0}
|
||||
unableToRemovePath=Unable to remove path ''{0}''
|
||||
unableToStore=Unable to store {0}.
|
||||
unableToWrite=Unable to write {0}
|
||||
unauthorized=Unauthorized
|
||||
|
|
|
@ -766,6 +766,7 @@ public static JGitText get() {
|
|||
/***/ public String tSizeMustBeGreaterOrEqual1;
|
||||
/***/ public String unableToCheckConnectivity;
|
||||
/***/ public String unableToCreateNewObject;
|
||||
/***/ public String unableToRemovePath;
|
||||
/***/ public String unableToStore;
|
||||
/***/ public String unableToWrite;
|
||||
/***/ public String unauthorized;
|
||||
|
|
|
@ -1293,7 +1293,8 @@ private static void delete(File file, int depth, LockFile rLck)
|
|||
// same prefix
|
||||
break;
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Unable to remove path {}", dir, e); //$NON-NLS-1$
|
||||
LOG.warn(MessageFormat.format(JGitText.get().unableToRemovePath,
|
||||
dir), e);
|
||||
break;
|
||||
}
|
||||
dir = dir.getParentFile();
|
||||
|
|
Loading…
Reference in New Issue