Mercurial: Transform path separators on status

hg status uses native separators. Filtering untracked files assumes normalized
ones.

Change-Id: I63934f45e5787b895428b6c560f6d214d6689fbb
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-03-01 08:16:18 +02:00
committed by Orgad Shaneh
parent bf0abd8cb1
commit 6216740076

View File

@@ -409,7 +409,7 @@ MercurialClient::StatusItem MercurialClient::parseStatusLine(const QString &line
//the status line should be similar to "M file_with_changes" //the status line should be similar to "M file_with_changes"
//so just should take the file name part and store it //so just should take the file name part and store it
item.file = line.mid(2); item.file = QDir::fromNativeSeparators(line.mid(2));
} }
return item; return item;
} }