Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix Get Revision svn errors

John Dancel3deb27f8fe2f
diff --git a/toonz/sources/toonz/versioncontroltimeline.cpp b/toonz/sources/toonz/versioncontroltimeline.cpp
index 4250a87de..0ce9edb70 100644
--- a/toonz/sources/toonz/versioncontroltimeline.cpp
+++ b/toonz/sources/toonz/versioncontroltimeline.cpp
@@ -389,14 +389,13 @@ void SVNTimeline::exportToTemporaryFile(int index, bool isAuxFile) {
// SceneIcons (pay attention to add a space at the fileName end)
if (isAuxFile && fi.completeSuffix() == "png") {
- args << "sceneIcons/" + fileName + " ." + extension + "@" +
- m_log.at(index).m_revision;
+ args << "sceneIcons/" + m_fileName + "@" + m_log.at(index).m_revision;
args << fi.absoluteFilePath();
} else {
- args << fileName + "." + fi.completeSuffix() + "@" +
- m_log.at(index).m_revision;
+ args << m_fileName + "@" + m_log.at(index).m_revision;
args << fi.absoluteFilePath();
}
+ args << "--force";
// Export to temporary file...
m_thread.executeCommand(m_workingDir, "svn", args, true);