Commit 459ff2dd authored by irengrig's avatar irengrig
Browse files

IDEA-94665 Subversion: with command line acceleration, status sometimes fails...

IDEA-94665 Subversion: with command line acceleration, status sometimes fails if full path is reported
+ status and info parse tests
parent c58640eb
Branches unavailable Tags unavailable
No related merge requests found
Showing with 598 additions and 1 deletion
+598 -1
......@@ -678,7 +678,12 @@ public class SvnStatusHandler extends DefaultHandler {
protected void updateStatus(Attributes attributes, PortableStatus status, SVNLockWrapper lock) throws SAXException {
final String path = attributes.getValue("path");
assertSAX(path != null);
final File file = new File(myBase, path);
final File file;
if (new File(path).isAbsolute()) {
file = new File(path);
} else {
file = new File(myBase, path);
}
status.setFile(file);
final boolean exists = file.exists();
if (exists) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment