From 8271ae6fb9313acbebef881582ccaf49aaf9e20d Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 10 Nov 2012 21:30:31 +0100 Subject: [PATCH] Fixed issue #1516: SVN clone strips trailing slashes Signed-off-by: Sven Strickroth --- src/Changelog.txt | 1 + src/TortoiseProc/Commands/CloneCommand.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index 57fbe0e86..308703d04 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -28,6 +28,7 @@ Released: unreleased * Fixed issue #1499: Allow to show log if current HEAD and selected ref is orphan branch when show all branches checked * Fixed issue #1507: Submodule Diff Dialog should show dirty state only on working copy revision * Fixed issue #1511: Changed Files Dialog cannot show icons as folder for submodule + * Fixed issue #1516: SVN clone strips trailing slashes = Release 1.7.14.0 = Released: 2012-10-14 diff --git a/src/TortoiseProc/Commands/CloneCommand.cpp b/src/TortoiseProc/Commands/CloneCommand.cpp index eaeb6fc48..83bba10b5 100644 --- a/src/TortoiseProc/Commands/CloneCommand.cpp +++ b/src/TortoiseProc/Commands/CloneCommand.cpp @@ -64,7 +64,8 @@ bool CloneCommand::Execute() } CAppUtils::RemoveTrailSlash(dlg.m_Directory); - CAppUtils::RemoveTrailSlash(dlg.m_URL); + if (!dlg.m_bSVN) + CAppUtils::RemoveTrailSlash(dlg.m_URL); CString dir=dlg.m_Directory; CString url=dlg.m_URL; -- 2.11.4.GIT